Closed sharafffffff closed 6 years ago
$model->tag('SomeTag , SomeTag'); $this->assertEquals(1 , $model->isTagged()->count());
This test fails : Failed asserting that 2 matches expected 1. And it generates same result when passed as array also:
$model->tag(['SomeTag' , 'SomeTag']); $this->assertEquals(1 , $model->isTagged()->count());
So they were considered two different tags, However making test like that passes
$model->tag('SomeTag'); $model->tag('SomeTag'); $this->assertEquals(1 , $model->isTagged()->count());
This is fixed in the 3.2.5 release. Thanks!
Is there a fix for 3.1 for laravel 3.4?
Laravel 3.4?!
This test fails : Failed asserting that 2 matches expected 1. And it generates same result when passed as array also:
So they were considered two different tags, However making test like that passes