diff options
Diffstat (limited to 'tests/README.markdown')
-rw-r--r-- | tests/README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
28 | 28 | ||
29 | It also needs various things to be set up for it. The following command should do the trick: | 29 | It also needs various things to be set up for it. The following command should do the trick: |
30 | 30 | ||
31 | RAILS_ENV=development rails db:setup && RAILS_ENV=development bin/tootctl accounts create admin2 --email [email protected] --confirmed --role Owner && psql -d mastodon_development < ~/Mastodon.py/tests/setup.sql && sleep 4 && foreman start | 31 | 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 [email protected] --confirmed --role Owner && psql -d mastodon_development < ~/masto/Mastodon.py/tests/setup.sql && sleep 4 && foreman start |
32 | 32 | ||
33 | Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. | 33 | Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. |
34 | 34 | ||