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 8276c465 authored by Fabian Schmengler's avatar Fabian Schmengler

Fix constraint type for assertLayoutBlockRenderedContent[Not]()

Passed content constraints were been ignored because of wrong type.
parent e0b35954
......@@ -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