added another test
This commit is contained in:
parent
1e3f1f0ab0
commit
589d71999c
|
@ -51,4 +51,11 @@ class ComicPressBackendFilesystemTest extends PHPUnit_Framework_TestCase {
|
|||
|
||||
$this->assertEquals('url', $fs->url('type'));
|
||||
}
|
||||
|
||||
function testGetImageSize() {
|
||||
$result = $this->fs->_getimagesize(dirname(__FILE__) . '/../files/test.png');
|
||||
$this->assertTrue(is_array($result));
|
||||
$this->assertEquals(20, $result[0]);
|
||||
$this->assertEquals(10, $result[1]);
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 226 B |
Loading…
Reference in New Issue