diff options
Diffstat (limited to 'lib/plugins/config/_test/WriterTest.php')
-rw-r--r-- | lib/plugins/config/_test/WriterTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/plugins/config/_test/WriterTest.php b/lib/plugins/config/_test/WriterTest.php index 62e4a56d5..739f68be4 100644 --- a/lib/plugins/config/_test/WriterTest.php +++ b/lib/plugins/config/_test/WriterTest.php @@ -25,7 +25,7 @@ class WriterTest extends \DokuWikiTest { // before running, no backup should exist $this->assertFileExists($config); - $this->assertFileNotExists("$config.bak"); + $this->assertFileNotExists("$config.bak.php"); $old = filesize($config); /** @noinspection PhpUnhandledExceptionInspection */ @@ -33,8 +33,8 @@ class WriterTest extends \DokuWikiTest { // after running, both should exist $this->assertFileExists($config); - $this->assertFileExists("$config.bak"); - $this->assertEquals($old, filesize("$config.bak"), 'backup should have size of old file'); + $this->assertFileExists("$config.bak.php"); + $this->assertEquals($old, filesize("$config.bak.php"), 'backup should have size of old file'); // check contents $conf = []; @@ -45,7 +45,7 @@ class WriterTest extends \DokuWikiTest { /** @noinspection PhpUnhandledExceptionInspection */ $writer->save($settings); - $this->assertEquals(filesize($config), filesize("$config.bak")); + $this->assertEquals(filesize($config), filesize("$config.bak.php")); } public function testTouch() { |