From f75da65bdaa8a374a4eef6ff7fed641bfe0dd1d7 Mon Sep 17 00:00:00 2001 From: nate Date: Sat, 3 May 2008 16:35:03 +0000 Subject: [PATCH] Fixing manual primary key insert in model test git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6749 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/model/model.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/model/model.test.php b/cake/tests/cases/libs/model/model.test.php index 6470c903d..7db226586 100644 --- a/cake/tests/cases/libs/model/model.test.php +++ b/cake/tests/cases/libs/model/model.test.php @@ -868,7 +868,7 @@ class ModelTest extends CakeTestCase { function testUpdateExisting() { $this->loadFixtures('User', 'Article', 'Comment'); $this->model =& new User(); - $this->model->id = $id = 1000; + $this->model->id = $id = 1; $this->model->delete(); $this->model->save(array('User' => array('id' => $id, 'user' => 'some user', 'password' => 'some password')));