Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Moelleken committed Jun 30, 2016
2 parents 343fcc2 + 720d34e commit 3aa7512
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ORMTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public function testIsDirty()

$model = ORM::for_table('test')->create(array('test' => 'test'));
self::assertTrue($model->is_dirty('test'));

$model = ORM::forTable('test')->create(array('test' => null));
$this->assertTrue($model->isDirty('test'));

$model->test = null;
self::assertTrue($model->is_dirty('test'));
Expand Down

0 comments on commit 3aa7512

Please sign in to comment.