diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-23 15:30:43 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-23 15:30:43 +0200 |
commit | 6d5cfe0c66f7010d552f0aa234a13c2e91a933bd (patch) | |
tree | a3703e699e9d81ed92019a730ae4f436e3ffb0a2 /tests | |
parent | 770881d5d66de36bb04fab8a2b9fdcae658150fa (diff) | |
download | nextcloud-server-6d5cfe0c66f7010d552f0aa234a13c2e91a933bd.tar.gz nextcloud-server-6d5cfe0c66f7010d552f0aa234a13c2e91a933bd.zip |
Move DateTime::RFC2822 to DateTimeInterface::2822
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Middleware/NotModifiedMiddlewareTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/AppFramework/Middleware/NotModifiedMiddlewareTest.php b/tests/lib/AppFramework/Middleware/NotModifiedMiddlewareTest.php index 3cd3921ce45..c62384302fb 100644 --- a/tests/lib/AppFramework/Middleware/NotModifiedMiddlewareTest.php +++ b/tests/lib/AppFramework/Middleware/NotModifiedMiddlewareTest.php @@ -61,13 +61,13 @@ class NotModifiedMiddlewareTest extends \Test\TestCase { [null, '"etag"', null, '', false], ['etag', '"etag"', null, '', true], - [null, '', $now, $now->format(\DateTime::RFC2822), true], + [null, '', $now, $now->format(\DateTimeInterface::RFC2822), true], [null, '', $now, $now->format(\DateTimeInterface::ATOM), false], - [null, '', null, $now->format(\DateTime::RFC2822), false], + [null, '', null, $now->format(\DateTimeInterface::RFC2822), false], [null, '', $now, '', false], ['etag', '"etag"', $now, $now->format(\DateTimeInterface::ATOM), true], - ['etag', '"etag"', $now, $now->format(\DateTime::RFC2822), true], + ['etag', '"etag"', $now, $now->format(\DateTimeInterface::RFC2822), true], ]; } |