aboutsummaryrefslogtreecommitdiff
path: root/test/support/conn_case.ex
AgeCommit message (Collapse)Author
2022-02-25Copyright bump for 2022Sean King
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-03-05Update OpenApiSpex dependencyEgor Kislitsyn
2021-01-19Mox mode setup tweak; refactoring.Ivan Tashkinov
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04SideEffects.DeleteTest: asyncify.lain
Replace Mock with Mox, mock out Logger.
2020-12-21Tests: Stub the pipeline in all tests.lain
Restores the old un-moxed behavior.
2020-12-18Tests: 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-18Tests: Reset all cachex caches between synchronous testslain
Don't bother in the async case, it doesn't make sense there.
2020-10-28Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
ostatus-controller-no-auth-check-on-non-federating-instances # Conflicts: # CHANGELOG.md
2020-10-07use Phoenix.ConnTest is deprecatedMark Felder
2020-10-02[#3053] No auth check in StaticFEController, even on non-federating ↵Ivan Tashkinov
instances. Adjusted tests.
2020-08-11Apply 1 suggestion(s) to 1 file(s)lain
2020-08-07Force 204 responses to be empty, fixes #2029Alex Gleason
2020-05-07Streamer reworkhref
2020-05-05Add OpenAPI spec for ListControllerEgor Kislitsyn
2020-04-27Use `json_response_and_validate_schema/2` in tests to validate OpenAPI schemaEgor Kislitsyn
2020-04-27Merge branch 'develop' into openapi/accountEgor Kislitsyn
2020-04-24Support validation for inline OpenAPI schema and automatic tests for examplesEgor Kislitsyn
2020-04-13Add spec for AccountController.update_credentialsEgor Kislitsyn
2020-03-11[#1560] Enforced authentication for non-federating instances in ↵Ivan Tashkinov
StaticFEController.
2020-03-09[#1560] Ensured authentication or enabled federation for federation-related ↵Ivan Tashkinov
routes. New tests + tests refactoring.
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2019-12-19[#2068] Introduced proper OAuth tokens usage to controller tests.Ivan Tashkinov
2019-12-15OAuthScopesPlug: disallowed nil token (unless with :fallback option). WIP: ↵Ivan Tashkinov
controller tests modification: OAuth scopes usage.
2019-09-18Bump copyright years of files changed in 2019Haelwenn (lanodan) Monnier
Done via the following command: git diff 1e6c102bfcfe0e4835a48f2483f2376f9bf86a20 --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
2019-09-16Revert "Merge branch 'revert-4fabf83a' into 'develop'"Egor Kislitsyn
This reverts commit fe7fd331263007e0fb2877ef7370a09a9704da36, reversing changes made to 4fabf83ad01352442906d79187aeab4c777f4df8.
2019-09-16Revert "Merge branch 'streamer-refactoring' into 'develop'"kaniini
This reverts merge request !1653
2019-09-16Streamer refactoringSteven Fuchs
2019-02-03Unbreak all the tests.lain
2018-12-23tests: add legal boilerplateWilliam Pitcock
2018-12-12fix warningsMaksim Pechnikov
2018-03-30Format the code.lain
2018-03-22Clear caches on test.lain
2017-03-17Phoenix skeletonRoger Braun