Skip to content

Commit

Permalink
Add another assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Apr 5, 2023
1 parent b53588e commit 00d04ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Unit/Models/ModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ public function test_has_attribute()
$model->foo = '';
$this->assertTrue($model->hasAttribute('foo'));

$model->foo = false;
$this->assertTrue($model->hasAttribute('foo'));

$model->foo = [''];
$this->assertTrue($model->hasAttribute('foo'));

Expand Down

0 comments on commit 00d04ee

Please sign in to comment.