From d0b1da993d4a38469106d6bd52dab6254bbd0053 Mon Sep 17 00:00:00 2001 From: halcy Date: Tue, 8 Nov 2022 23:24:42 +0200 Subject: add media v2 API + tests, move v1 test --- tests/README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/README.markdown') diff --git a/tests/README.markdown b/tests/README.markdown index 9c4fcae..e4ad200 100644 --- a/tests/README.markdown +++ b/tests/README.markdown @@ -28,7 +28,7 @@ To set this up, follow the development guide and set up the database using "rail It also needs various things to be set up for it. The following command should do the trick: - RAILS_ENV=development rails db:setup && RAILS_ENV=development bin/tootctl accounts create admin2 --email alice@example.com --confirmed --role Owner && psql -d mastodon_development < ~/Mastodon.py/tests/setup.sql && sleep 4 && foreman start + sudo redis-cli flushall && sleep 3 && sudo /etc/init.d/redis-server restart && RAILS_ENV=development rails db:setup && RAILS_ENV=development bin/tootctl accounts create admin2 --email zerocool@example.com --confirmed --role Owner && psql -d mastodon_development < ~/masto/Mastodon.py/tests/setup.sql && sleep 4 && foreman start Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. -- cgit v1.2.3