1
0
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:
Cameron
2020-03-09 13:41:00 -07:00
parent 0ef918eb59
commit a200d312d8
4 changed files with 53 additions and 9 deletions

View File

@@ -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();