Commit Graph

12 Commits (dev)

Author SHA1 Message Date
daniel 0158941fb6
API improvements + test fixes (#5925)
* migrate PHPUnit configuration

* replace @test annotations with #[Test] attributes, and add it where it was missing

* remove test prefix from test method names

* add PHPUnit cache to .gitignore

* Update ApiV1Controller, fix notifications favourited/reblogged/bookmarked state. Fixes #5901

* Update ApiV1Controller, fix relationship fields. Fixes #5900

* Update instance config, return proper matrix limits. Fixes #4780

* Update SearchApiV2Service, fix offset bug. Fixes #5875

* Update ApiV1Controller, add better direct error message. Fixes #4789

* Update changelog

---------

Co-authored-by: Daniel Simon <daniel.simon.dev@proton.me>
4 months ago
Daniel Supernault 778e83d398
Update lexer regex, fix mention regex and add more tests 2 years ago
Daniel Supernault d4f92da0e5
Fix test 2 years ago
Sven Luijten 13d359a3c5
Clean up styling in the tests 3 years ago
Daniel Supernault 2598520bbe
Update tests 5 years ago
Daniel Supernault f911c96d16
Update lexer autolinker and extractor, add support for mentioned usernames containing dashes, periods and underscore characters 6 years ago
Daniel Supernault 46a498d7a9
Update StatusLexerTest 6 years ago
Daniel Supernault 52b5eab9b7
Update Autolinker test 6 years ago
Daniel Supernault 78ccec53e0
Update StatusLexerTest 6 years ago
Daniel Supernault a9072b3ad7
Add unit test 6 years ago
Daniel Supernault 0c654f5e43
Update tests 6 years ago
Daniel Supernault 127990e95f
Add Status Lexer Test 7 years ago