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(); + } +}