Skip to content

Commit fcac62c

Browse files
committed
Fix broken test
assertContains uses strict comparison in PHPUnit 9
1 parent eb43279 commit fcac62c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/Codeception/Module/TestsForWeb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
abstract class TestsForWeb extends \Codeception\Test\Unit
1212
{
1313
/**
14-
* @var \Codeception\Module\PhpBrowser
14+
* @var \Codeception\Module\UniversalFramework
1515
*/
1616
protected $module;
1717

@@ -1416,7 +1416,7 @@ public function testCheckingOptionsWithComplexNames()
14161416
$this->module->checkOption('#bmessage-topicslinks input[value="4"]');
14171417
$this->module->click('Submit');
14181418
$data = data::get('form');
1419-
$this->assertContains(4, $data['BMessage']['topicsLinks']);
1419+
$this->assertContains('4', $data['BMessage']['topicsLinks']);
14201420
}
14211421

14221422
/**

0 commit comments

Comments
 (0)