Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-03 | script_test: Fix %ErlangError for Elixir 1.14 | Haelwenn (lanodan) Monnier | |
2022-08-10 | Fix the mocks to use uppercase as well | Mark Felder | |
2022-02-25 | Copyright bump for 2022 | Sean King | |
2021-10-06 | CI: Bump lint stage to elixir-1.12 | Haelwenn (lanodan) Monnier | |
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format` | |||
2021-01-26 | Convert tests to all use clear_config instead of Pleroma.Config.put | Mark Felder | |
2021-01-21 | Test URL formatting | Mark Felder | |
2021-01-21 | Improve description | Mark Felder | |
2021-01-13 | Bump Copyright to 2021 | Haelwenn (lanodan) Monnier | |
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;' | |||
2020-12-21 | Tests: Make as many tests as possible async. | lain | |
In general, tests that match these criteria can be made async: - Doesn't use real Cachex. - Doesn't write to the Config / Application Environment. - Uses Mock. Using Mox is fine. - Uses the streamer. | |||
2020-12-18 | Tests: Use NullCache for async tests. | lain | |
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test. | |||
2020-12-18 | Tests: Remove unneeded explicit cachex use. | lain | |
Only use cachex when we're actually testing it. | |||
2020-10-13 | tests consistency | Alexander Strizhakov | |