We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 0f6bdb0b authored by Ivan Chepurnyi's avatar Ivan Chepurnyi Committed by GitHub

Merge pull request #271 from schmengler/bugfix/block-content-constraint

Fix constraint type for assertLayoutBlockRenderedContent[Not]()
parents e0b35954 8276c465
......@@ -1160,7 +1160,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
self::assertThatLayout(
self::layoutBlock(
$blockName,
EcomDev_PHPUnit_Constraint_Layout_Block::TYPE_RENDERED,
EcomDev_PHPUnit_Constraint_Layout_Block::TYPE_RENDERED_CONTENT,
$constraint
),
$message
......@@ -1180,7 +1180,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
self::assertThatLayout(
self::layoutBlock(
$blockName,
EcomDev_PHPUnit_Constraint_Layout_Block::TYPE_RENDERED,
EcomDev_PHPUnit_Constraint_Layout_Block::TYPE_RENDERED_CONTENT,
self::logicalNot($constraint)
),
$message
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment