mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 08:39:57 +02:00
Added e107::getThumb() to get thumbnailer class. Added a test for it. Styling fix for admin-ui grid.
This commit is contained in:
@@ -284,6 +284,18 @@ class e107Test extends \Codeception\Test\Unit
|
||||
$this->assertTrue($res);
|
||||
}*/
|
||||
|
||||
|
||||
public function testGetThumb()
|
||||
{
|
||||
$tmp = e107::getThumb(e_PLUGIN."gallery/images/horse.jpg");
|
||||
|
||||
$className = get_class($tmp);
|
||||
|
||||
$this->assertEquals('GdThumb', $className);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function testGetUserSession()
|
||||
{
|
||||
$tmp = e107::getUserSession();
|
||||
|
Reference in New Issue
Block a user