File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
plugins/src/test/kotlin/com/google/firebase/gradle/plugins Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ class GenerateTutorialBundleTests : FunSpec() {
242
242
@Test
243
243
fun `throws an error if an unreleased artifact is used` () {
244
244
shouldThrowSubstring(" missing from gmaven" , " com.google.firebase:firebase-auth" ) {
245
- every { service.latestVersionOrNull (any()) } answers { null }
245
+ every { service.latestNonAlphaVersionOrNull (any()) } answers { null }
246
246
247
247
val task = makeTask { firebaseArtifacts.set(listOf (" com.google.firebase:firebase-auth" )) }
248
248
@@ -293,7 +293,9 @@ class GenerateTutorialBundleTests : FunSpec() {
293
293
val (groupId, artifactId, version) = it.split(" :" )
294
294
" $groupId :$artifactId " to version
295
295
}
296
- .onEach { entry -> every { service.latestVersionOrNull(entry.key) } answers { entry.value } }
296
+ .onEach { entry ->
297
+ every { service.latestNonAlphaVersionOrNull(entry.key) } answers { entry.value }
298
+ }
297
299
}
298
300
299
301
private fun makeTutorial (
You can’t perform that action at this time.
0 commit comments