From 67ff32e91a8cc6d2f09b3b69bb64a69fe59cf51e Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Mon, 14 Oct 2019 15:04:54 +0200 Subject: [PATCH] test passing --- src/test/kotlin/AssetsTest.kt | 4 ++-- src/test/kotlin/SCTest.kt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/kotlin/AssetsTest.kt b/src/test/kotlin/AssetsTest.kt index 4b65442..00bd3e4 100644 --- a/src/test/kotlin/AssetsTest.kt +++ b/src/test/kotlin/AssetsTest.kt @@ -64,7 +64,7 @@ class AssetsTest { val temp = tempPath() signingReportTask(temp).runCommand { _, report -> println(report) - val key = report.extractFingerprint() + val key = report.extractFingerprint(variant = "prodDebug") println(key) assert(key.isNotEmpty()) val files = locateAssetsFiles( @@ -94,7 +94,7 @@ class AssetsTest { val temp = tempPath() signingReportTask(temp).runCommand { _, report -> println(report) - val key = report.extractFingerprint() + val key = report.extractFingerprint(variant = "prodDebug") println(key) assert(key.isNotEmpty()) val files = locateAssetsFiles( diff --git a/src/test/kotlin/SCTest.kt b/src/test/kotlin/SCTest.kt index 6a31c97..1223517 100644 --- a/src/test/kotlin/SCTest.kt +++ b/src/test/kotlin/SCTest.kt @@ -41,7 +41,7 @@ class SCTest { val temp = tempPath() signingReportTask(temp).runCommand { _, report -> println(report) - assert(report.extractFingerprint().split(":").size == 20) + assert(report.extractFingerprint(variant = "prodDebug").split(":").size == 20) } } @@ -97,7 +97,7 @@ class SCTest { val temp = tempPath() signingReportTask(temp).runCommand { _, report -> println(report) - val key = report.extractFingerprint() + val key = report.extractFingerprint(variant = "prodDebug") println(key) assert(key.isNotEmpty()) val files = locateResourceFiles("$temp${File.separator}$testProjectName", configuration) @@ -121,7 +121,7 @@ class SCTest { val temp = tempPath() signingReportTask(temp).runCommand { _, report -> println(report) - val key = report.extractFingerprint() + val key = report.extractFingerprint(variant = "prodDebug") println(key) assert(key.isNotEmpty()) val files = locateResourceFiles("$temp${File.separator}$testProjectName", configuration)