Adjust test to new code
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
5b00ec0b05
commit
a8f15e4133
@ -35,7 +35,7 @@ class PMA_GetDivForSliderEffectTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertXmlStringEqualsXmlString(
|
||||
"<root>" . PMA\libraries\Util::getDivForSliderEffect($id, $message) . "</div></root>",
|
||||
"<root><div id=\"$id\" class=\"pma_auto_slider\"\ntitle=\"" . htmlspecialchars($message) . "\" ></div></root>"
|
||||
"<root><div id=\"$id\" class=\"pma_auto_slider\"\ntitle=\"" . htmlspecialchars($message) . "\" >\n</div></root>"
|
||||
);
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ class PMA_GetDivForSliderEffectTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertXmlStringEqualsXmlString(
|
||||
"<root>" . PMA\libraries\Util::getDivForSliderEffect($id, $message) . "</div></root>",
|
||||
"<root><div id=\"$id\" style=\"display: none; overflow:auto;\" class=\"pma_auto_slider\"\ntitle=\"" . htmlspecialchars($message) . "\" ></div></root>"
|
||||
"<root><div id=\"$id\" style=\"display: none; overflow:auto;\" class=\"pma_auto_slider\"\ntitle=\"" . htmlspecialchars($message) . "\" >\n</div></root>"
|
||||
);
|
||||
|
||||
}
|
||||
@ -74,7 +74,7 @@ class PMA_GetDivForSliderEffectTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertXmlStringEqualsXmlString(
|
||||
"<root>" . PMA\libraries\Util::getDivForSliderEffect($id, $message) . "</div></root>",
|
||||
"<root><div id=\"$id\"></div></root>"
|
||||
"<root><div id=\"$id\">\n</div></root>"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user