aboutsummaryrefslogtreecommitdiff
path: root/app/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt
new file mode 100644
index 00000000..69ff7941
--- /dev/null
+++ b/app/src/test/kotlin/com/pitchedapps/frost/services/UpdateServiceTest.kt
@@ -0,0 +1,18 @@
+package com.pitchedapps.frost.services
+
+import org.junit.Test
+import kotlin.test.assertNotNull
+
+/**
+ * Created by Allan Wang on 07/04/18.
+ */
+class UpdateServiceTest {
+
+ @Test
+ fun getRelease() {
+ val release = UpdateManager.getLatestGithubRelease()
+ assertNotNull(release)
+ assertNotNull(release!!.apk, "Apk not uploaded for $release")
+ }
+
+} \ No newline at end of file