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