From 7c73d9aa64b641d34bbba557f8ba4931f83a24a3 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 15 May 2020 16:44:07 +0200 Subject: [PATCH] remove useless parts --- src/test/mastodon_bot/mytest.cljs | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/test/mastodon_bot/mytest.cljs diff --git a/src/test/mastodon_bot/mytest.cljs b/src/test/mastodon_bot/mytest.cljs deleted file mode 100644 index 5f40631..0000000 --- a/src/test/mastodon_bot/mytest.cljs +++ /dev/null @@ -1,28 +0,0 @@ -(ns mastodon-bot.mytest - (:require - [mastodon-bot.infra :as infra] - [clojure.pprint :refer [pprint]] - [mastodon-bot.mastodon-api :as masto])) - -(defn myconfig [] - (:mastodon-config (infra/load-config))) - -(defn test-timeline [] - (masto/get-mastodon-timeline - (myconfig) - pprint)) - -(defn test-status [] - (masto/post-status - (myconfig) - "test" - nil - pprint)) - -(defn test-status-image [] - (masto/post-status-with-images - (myconfig) - "test2" - ["https://pbs.twimg.com/media/ER3qX2RW4AEhQfW.jpg"] - [] - pprint))