aboutsummaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-03 23:55:42 -0700
committerAllan Wang <me@allanwang.ca>2019-07-03 23:55:42 -0700
commit53489f9c5a09bfdd6459a8c1c880669ecce69872 (patch)
treebbe529a4047c99e40198be82c5924d44b3f4d98e /app/src/androidTest
parent99badbbfad64f69d6699385e1f9a958e5abb8310 (diff)
downloadfrost-53489f9c5a09bfdd6459a8c1c880669ecce69872.tar.gz
frost-53489f9c5a09bfdd6459a8c1c880669ecce69872.tar.bz2
frost-53489f9c5a09bfdd6459a8c1c880669ecce69872.zip
Add translation update to changelog
Diffstat (limited to 'app/src/androidTest')
-rw-r--r--app/src/androidTest/kotlin/com/pitchedapps/frost/activities/ImageActivityTest.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/androidTest/kotlin/com/pitchedapps/frost/activities/ImageActivityTest.kt b/app/src/androidTest/kotlin/com/pitchedapps/frost/activities/ImageActivityTest.kt
index f1accefd..5578dd4d 100644
--- a/app/src/androidTest/kotlin/com/pitchedapps/frost/activities/ImageActivityTest.kt
+++ b/app/src/androidTest/kotlin/com/pitchedapps/frost/activities/ImageActivityTest.kt
@@ -98,6 +98,7 @@ class ImageActivityTest {
fun invalidImageTest() {
launchActivity(mockServer.url("text").toString())
mockServer.takeRequest()
+ activity.activity.isFinishing
with(activity.activity) {
assertEquals(1, mockServer.requestCount, "One http request expected")
assertEquals(FabStates.ERROR, fabAction, "Text should not be a valid image format, error state expected")