Fix wrong $this->assert...()
with `self::assert...()
This commit is contained in:
parent
b3e5621d37
commit
efaec26b1d
63 changed files with 1192 additions and 1192 deletions
|
@ -87,7 +87,7 @@ class PageInfoTest extends MockedTest
|
|||
*/
|
||||
public function testGetRelevantUrlFromBody($expected, string $body, bool $searchNakedUrls = false)
|
||||
{
|
||||
$this->assertSame($expected, PageInfoMock::getRelevantUrlFromBody($body, $searchNakedUrls));
|
||||
self::assertSame($expected, PageInfoMock::getRelevantUrlFromBody($body, $searchNakedUrls));
|
||||
}
|
||||
|
||||
public function dataStripTrailingUrlFromBody()
|
||||
|
@ -135,6 +135,6 @@ class PageInfoTest extends MockedTest
|
|||
*/
|
||||
public function testStripTrailingUrlFromBody(string $expected, string $body, string $url)
|
||||
{
|
||||
$this->assertSame($expected, PageInfoMock::stripTrailingUrlFromBody($body, $url));
|
||||
self::assertSame($expected, PageInfoMock::stripTrailingUrlFromBody($body, $url));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue