From 37125af7beadaace816f5405bbaeca69798c220f Mon Sep 17 00:00:00 2001 From: "mayank.saini" Date: Fri, 29 Sep 2023 17:37:05 -0400 Subject: [PATCH] Fix failing test `buildClassNextSdkAccess` --- gradle/libs.versions.toml | 2 +- .../test/java/app/cash/paparazzi/gradle/PaparazziPluginTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a008657524..c5f580542a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,7 +16,7 @@ compileSdk = "33" # which runs on JDK 11. layoutlib = "2022.2.1-5128371-2" layoutlibPrebuiltSha = "5128371" -paparazziGradlePlugin = "1.3.0" +paparazziGradlePlugin = "1.3.1" [libraries] androidx-annotations = { module = "androidx.annotation:annotation", version = "1.6.0" } diff --git a/paparazzi-gradle-plugin/src/test/java/app/cash/paparazzi/gradle/PaparazziPluginTest.kt b/paparazzi-gradle-plugin/src/test/java/app/cash/paparazzi/gradle/PaparazziPluginTest.kt index f1010c6161..1e248eafed 100644 --- a/paparazzi-gradle-plugin/src/test/java/app/cash/paparazzi/gradle/PaparazziPluginTest.kt +++ b/paparazzi-gradle-plugin/src/test/java/app/cash/paparazzi/gradle/PaparazziPluginTest.kt @@ -240,7 +240,7 @@ class PaparazziPluginTest { .withArguments("testDebug", "--stacktrace") .runFixture(fixtureRoot) { build() } - val snapshotsDir = File(fixtureRoot, "custom/reports/paparazzi/images") + val snapshotsDir = File(fixtureRoot, "custom/reports/paparazzi/debug/images") assertThat(snapshotsDir.exists()).isFalse() }