aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-03-11 15:47:35 -0400
committerGitHub <noreply@github.com>2018-03-11 15:47:35 -0400
commit67988a25d83fc10b187fcc821c3ceacfad0195d5 (patch)
tree58d6622f3eccf0275d55ee7f6ef2ba76845211ab /app/src/test/kotlin
parent7f74e08270e34eb66a824ac18519293d4a42278c (diff)
downloadfrost-67988a25d83fc10b187fcc821c3ceacfad0195d5.tar.gz
frost-67988a25d83fc10b187fcc821c3ceacfad0195d5.tar.bz2
frost-67988a25d83fc10b187fcc821c3ceacfad0195d5.zip
Fix/notification sound (#763)
* Update dependencies * Update theme * Fix bad css merge * Add notification feedback for fetching now * Hide notif settings that no longer work with channels * Wip android o channels * Revert back to old group method * Update dependencies * Update rxnetwork version
Diffstat (limited to 'app/src/test/kotlin')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt
index 63c11bac..9fbb6069 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/debugger/OfflineWebsiteTest.kt
@@ -14,7 +14,8 @@ class OfflineWebsiteTest {
@Test
fun basic() {
val countdown = CountDownLatch(1)
- OfflineWebsite(FB_URL_BASE, COOKIE, File("app/build/offline_test"))
+ val buildPath = if (File(".").parentFile?.name == "app") "build/offline_test" else "app/build/offline_test"
+ OfflineWebsite(FB_URL_BASE, COOKIE, File(buildPath))
.loadAndZip("test") {
println("Outcome $it")
countdown.countDown()