diff options
Diffstat (limited to 'tests/Core/Controller/PreviewControllerTest.php')
-rw-r--r-- | tests/Core/Controller/PreviewControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/PreviewControllerTest.php b/tests/Core/Controller/PreviewControllerTest.php index e7ecba27064..2c2411e666f 100644 --- a/tests/Core/Controller/PreviewControllerTest.php +++ b/tests/Core/Controller/PreviewControllerTest.php @@ -265,7 +265,7 @@ class PreviewControllerTest extends \Test\TestCase { $this->request ->method('getHeader') - ->with('X-NC-Preview') + ->with('x-nc-preview') ->willReturn('true'); $preview = $this->createMock(ISimpleFile::class); |