Skip to content

Commit

Permalink
[#14349] - Corrected class name
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Sep 7, 2019
1 parent 373894b commit a92d80e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/unit/Flash/Direct/Helper/FlashBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testFlashDirectImplicitFlushHtml(UnitTester $I)
private function stringTest(UnitTester $I, string $function)
{
$flash = new Direct(new Escaper());
$flash->setClasses($this->classes);
$flash->setCssClasses($this->classes);

$message = 'sample message';

Expand Down Expand Up @@ -213,7 +213,7 @@ public function testFlashDirectNoImplicitFlushNoHtml(UnitTester $I)
public function testFlashDirectWithAutoEscaping(UnitTester $I)
{
$flash = new Direct(new Escaper());
$flash->setClasses($this->classes);
$flash->setCssClasses($this->classes);

$flash->setAutomaticHtml(false);
$flash->setImplicitFlush(false);
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Flash/DirectCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected function getFlash()

$flash = new Direct();
$flash->setDI($container);
$flash->setClasses($this->classes);
$flash->setCssClasses($this->classes);

return $flash;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Flash/Session/OutputCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected function getFlash()
$container = $this->getDi();
$flash = new Session();
$flash->setDI($container);
$flash->setClasses($this->classes);
$flash->setCssClasses($this->classes);

return $flash;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Flash/Session/SetCustomTemplateCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function getFlash()

$flash = new Session();
$flash->setDI($container);
$flash->setClasses($this->classes);
$flash->setCssClasses($this->classes);

return $flash;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Flash/SessionCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ protected function getFlash()

$flash = new Session();
$flash->setDI($container);
$flash->setClasses($this->classes);
$flash->setCssClasses($this->classes);

return $flash;
}
Expand Down

0 comments on commit a92d80e

Please sign in to comment.