Skip to content
Snippets Groups Projects
Commit d83b2b98 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

fix Storm_Model_Abstract::hasChange() bug

parent 77704143
Branches
Tags
No related merge requests found
Pipeline #1867 passed with stage
in 6 seconds
This diff is collapsed.
......@@ -122,6 +122,11 @@ class Storm_Test_AttributeChangeForExistingUserTest extends Storm_Test_ModelTest
function nullAttributeShouldNotHaveChanged(){
$this->assertFalse($this->user->hasChangedAttribute(null));
}
/** @test */
public function modelShouldHaveChange() {
$this->assertTrue($this->user->hasChange());
}
}
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment