1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Updated to Codeception 4.0

This commit is contained in:
Nick Liu
2019-12-23 19:09:08 +01:00
parent f2edd94ea4
commit 29999eed6d
9 changed files with 33 additions and 32 deletions

View File

@@ -134,11 +134,11 @@
$tp = e107::getParser();
$result = $tp->parseTemplate("{BANNER=e107promo}",true);
$this->assertContains("<img class='e-banner img-responsive img-fluid'", $result);
$this->assertStringContainsString("<img class='e-banner img-responsive img-fluid'", $result);
$result = $tp->parseTemplate("{BANNER=e107promo}",false,
e107::getScBatch('banner', true));
$this->assertContains("<img class='e-banner img-responsive img-fluid'", $result);
$this->assertStringContainsString("<img class='e-banner img-responsive img-fluid'", $result);
$result = $tp->parseTemplate("{BANNER=e107promo}",false);
$this->assertEquals("", $result);