File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
app/code/Magento/Captcha/Test/Unit/Model/Filter
dev/tests/integration/testsuite/Magento
Customer/Model/Metadata/Form Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class QuoteDataConfigFilterTest extends TestCase
30
30
/**
31
31
* Initialize Class Dependencies
32
32
*/
33
- protected function setUp ()
33
+ protected function setUp (): void
34
34
{
35
35
$ this ->objectManager = new ObjectManager ($ this );
36
36
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class ImageTest extends \PHPUnit\Framework\TestCase
55
55
/**
56
56
* @inheritDoc
57
57
*/
58
- public function setUp ()
58
+ public function setUp (): void
59
59
{
60
60
$ this ->objectManager = Bootstrap::getObjectManager ();
61
61
$ this ->filesystem = $ this ->objectManager ->get (Filesystem::class);
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public function testGetViewFileUrl(): void
149
149
$ this ->processor ->_indexDir = __DIR__ . '/version1/magento2 ' ;
150
150
$ this ->processor ->_errorDir = __DIR__ . '/version2/magento2 ' ;
151
151
152
- $ this ->assertNotContains ('version2/magento2 ' , $ this ->processor ->getViewFileUrl ());
153
- $ this ->assertContains ('pub/errors/ ' , $ this ->processor ->getViewFileUrl ());
152
+ $ this ->assertStringNotContainsString ('version2/magento2 ' , $ this ->processor ->getViewFileUrl ());
153
+ $ this ->assertStringContainsString ('pub/errors/ ' , $ this ->processor ->getViewFileUrl ());
154
154
}
155
155
}
You can’t perform that action at this time.
0 commit comments