From 3874be57a44e33fbeec2add52cb874da0ca0b2e3 Mon Sep 17 00:00:00 2001 From: pookey Date: Thu, 5 Jul 2007 23:02:39 +0000 Subject: [PATCH] refs #381 --- tests/Ticket381TestCase.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/Ticket381TestCase.php diff --git a/tests/Ticket381TestCase.php b/tests/Ticket381TestCase.php new file mode 100644 index 000000000..af26fcc94 --- /dev/null +++ b/tests/Ticket381TestCase.php @@ -0,0 +1,29 @@ +tables = array('Book'); + parent::prepareTables(); + } + + public function testTicket() + { + $obj = new Book(); + $obj->save(); + $obj->set('name', 'yes'); + $obj->save(); + $this->assertEqual($obj->get('name'), 'yes'); + $obj->save(); + } + public function testTicket2() + { + $obj = new Book(); + $obj->set('name', 'yes2'); + $obj->save(); + $this->assertEqual($obj->get('name'), 'yes2'); + $obj->save(); + } +}