Skip to content

Commit

Permalink
Adjust test with 404 status.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Jan 10, 2025
1 parent d464713 commit 7ee726b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/com/github/sardine/FunctionalSardineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ee726b

Please sign in to comment.