mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix unit test for getUrl() #2123
This commit is contained in:
parent
f0237921b9
commit
c3fdee7350
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class LegacyTest extends \Codeception\TestCase\Test
|
|||
*/
|
||||
|
||||
// Legacy format
|
||||
$this->assertEquals(1, preg_match('/[?&]foo=bar/', getUrl('foo', 'bar')));
|
||||
$this->assertStringContainsString('foo=bar', getUrl('foo', 'bar'));
|
||||
$this->assertStringContainsString('?foo=bar&rhy=mix', getUrl('', 'foo', 'bar', 'rhy', 'mix'));
|
||||
$this->assertStringContainsString('?foo=bar&rhy=mix', getUrl('', 'foo', 'bar', 'rhy', 'mix', 'empty', '', 'keys', null));
|
||||
$this->assertStringContainsString('?foo=bar&rhy=mix', getNotEncodedUrl('', 'foo', 'bar', 'rhy', 'mix'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue