From 7ee726b63d200ff0bc0139e21a51afc727f57b62 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Fri, 10 Jan 2025 10:09:51 +0100 Subject: [PATCH] Adjust test with 404 status. --- src/test/java/com/github/sardine/FunctionalSardineTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/com/github/sardine/FunctionalSardineTest.java b/src/test/java/com/github/sardine/FunctionalSardineTest.java index ab522cd7..bc3e6054 100644 --- a/src/test/java/com/github/sardine/FunctionalSardineTest.java +++ b/src/test/java/com/github/sardine/FunctionalSardineTest.java @@ -226,8 +226,7 @@ public void getDavQuota() throws IOException Sardine sardine = SardineFactory.begin(); sardine.createDirectory(url); DavQuota davQuota = sardine.getQuota(url); - assertTrue(davQuota.getQuotaAvailableBytes() > 0); - assertEquals(0, davQuota.getQuotaUsedBytes()); + assertNull(davQuota); } @Test(expected = SardineException.class)