From cd8293925e92b7b349b98322a415388632e0ad49 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 8 Mar 2018 18:37:32 -0800 Subject: [PATCH] fix tests --- bin/mastodon-data.js | 1 + tests/spec/009-threads.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mastodon-data.js b/bin/mastodon-data.js index a1c8f3a..22e2cf0 100644 --- a/bin/mastodon-data.js +++ b/bin/mastodon-data.js @@ -13,6 +13,7 @@ function unrollThread (user, prefix, privacy, thread) { post: { internalId: prefix + key, text: key, + privacy: privacy, inReplyTo: parentKey && (prefix + parentKey) } }) diff --git a/tests/spec/009-threads.js b/tests/spec/009-threads.js index 8cb2b6c..28471a6 100644 --- a/tests/spec/009-threads.js +++ b/tests/spec/009-threads.js @@ -73,7 +73,7 @@ test('Forked threads look correct online and offline', async t => { .hover(getFirstVisibleStatus()) await navigateToBazAccount(t) await validateForkedThread(t) - await t.navigateTo('/') + await t.navigateTo('/') // clears in-memory cache while still preserving IDB cache .hover(getFirstVisibleStatus()) await navigateToBazAccount(t) await forceOffline()