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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user