We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4c38f commit d97bbd2Copy full SHA for d97bbd2
1 file changed
tests/TestCase/Model/Behavior/TagBehaviorTest.php
@@ -203,7 +203,7 @@ public function testMarshalingWithEmptyTagsString()
203
];
204
205
$entity = $this->Table->newEntity($data);
206
- $this->assertEquals(0, count($entity->get('tags')));
+ $this->assertNull($entity->get('tags'));
207
}
208
209
public function testSaveIncrementsCounter()
0 commit comments