1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 21:57:34 +02:00

Fixed use of deprecated test method in e_mediaTest

This commit is contained in:
Nick Liu
2020-12-06 22:29:04 +01:00
parent b1645e9aeb
commit 9452dd0037

View File

@@ -284,6 +284,6 @@
public function testGetPath() public function testGetPath()
{ {
$result = $this->md->getPath('image/jpeg'); $result = $this->md->getPath('image/jpeg');
$this->assertContains(e_MEDIA.'images/', $result); $this->assertStringContainsString(e_MEDIA.'images/', $result);
} }
} }