diff options
Diffstat (limited to 'tests/legacy/LegacyUpdaterTest.php')
-rw-r--r-- | tests/legacy/LegacyUpdaterTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/legacy/LegacyUpdaterTest.php b/tests/legacy/LegacyUpdaterTest.php index acfac530..0ddcb4a6 100644 --- a/tests/legacy/LegacyUpdaterTest.php +++ b/tests/legacy/LegacyUpdaterTest.php | |||
@@ -20,7 +20,7 @@ require_once 'inc/rain.tpl.class.php'; | |||
20 | * Class UpdaterTest. | 20 | * Class UpdaterTest. |
21 | * Runs unit tests against the updater class. | 21 | * Runs unit tests against the updater class. |
22 | */ | 22 | */ |
23 | class LegacyUpdaterTest extends \PHPUnit\Framework\TestCase | 23 | class LegacyUpdaterTest extends \Shaarli\TestCase |
24 | { | 24 | { |
25 | /** | 25 | /** |
26 | * @var string Path to test datastore. | 26 | * @var string Path to test datastore. |
@@ -725,7 +725,7 @@ $GLOBALS[\'privateLinkByDefault\'] = true;'; | |||
725 | $this->assertEquals(\Shaarli\Thumbnailer::MODE_ALL, $this->conf->get('thumbnails.mode')); | 725 | $this->assertEquals(\Shaarli\Thumbnailer::MODE_ALL, $this->conf->get('thumbnails.mode')); |
726 | $this->assertEquals(125, $this->conf->get('thumbnails.width')); | 726 | $this->assertEquals(125, $this->conf->get('thumbnails.width')); |
727 | $this->assertEquals(90, $this->conf->get('thumbnails.height')); | 727 | $this->assertEquals(90, $this->conf->get('thumbnails.height')); |
728 | $this->assertContains('You have enabled or changed thumbnails', $_SESSION['warnings'][0]); | 728 | $this->assertContainsPolyfill('You have enabled or changed thumbnails', $_SESSION['warnings'][0]); |
729 | } | 729 | } |
730 | 730 | ||
731 | /** | 731 | /** |