mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
thumbnail test added.
This commit is contained in:
26
tests/acceptance/0010_ThumbCest.php
Normal file
26
tests/acceptance/0010_ThumbCest.php
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
class ThumbCest
|
||||||
|
{
|
||||||
|
public function _before(AcceptanceTester $I)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public function _after(AcceptanceTester $I)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// tests
|
||||||
|
public function testThumbOutput(AcceptanceTester $I)
|
||||||
|
{
|
||||||
|
|
||||||
|
$I->amOnPage('/thumb.php?src=e_PLUGIN%2Fgallery%2Fimages%2Fbutterfly.jpg&w=220&h=190');
|
||||||
|
|
||||||
|
$I->seeResponseCodeIs(200);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user