Skip to content

Commit

Permalink
Fix deprecated diskCache method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Jones committed Aug 8, 2023
1 parent fb0f3d1 commit ae3ef97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coil-base/src/test/java/coil/fetch/HttpUriFetcherTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class HttpUriFetcherTest {
assertIs<SourceResult>(result)
assertEquals(DataSource.NETWORK, result.dataSource)
assertEquals(expectedSize, result.source.use { it.source().readAll(blackholeSink()) })
diskCache[url].use(::assertNotNull)
diskCache.openSnapshot(url).use(::assertNotNull)

// Don't set a response body as it should be read from the cache.
val response = MockResponse()
Expand Down

0 comments on commit ae3ef97

Please sign in to comment.