You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Yii2 framework.
I try to assert array with rules for model but i catch an unhandled situation.
I have an abstract class and another class that extends it. I merged rules from abstract class and extended
Testing started at 12:01 ...
/usr/bin/php /home/kartavik/projects/yii2-google-autocomplete/vendor/phpunit/phpunit/phpunit --configuration /home/kartavik/projects/yii2-google-autocomplete/phpunit.xml --filter "/(::testRulesArray)( .*)?$/" Wearesho\GoogleAutocomplete\Yii\Tests\Unit\Panels\StreetsPanelTest /home/kartavik/projects/yii2-google-autocomplete/tests/Unit/Panels/StreetsPanelTest.php --teamcity
PHPUnit 7.3.5 by Sebastian Bergmann and contributors.
The text was updated successfully, but these errors were encountered:
I use Yii2 framework.
I try to assert array with rules for model but i catch an unhandled situation.
I have an abstract class and another class that extends it. I merged rules from abstract class and extended
This is how functions look like:
And how tests look like:
And finally here is exception:
Phpunit say me that asserting subset arrays is failing:
But! When i click "see difference" phpstorm say that arrays is equal
excepted:
actual:
And finally, if i use
assertEquals(...)
test will be passed:console output:
The text was updated successfully, but these errors were encountered: