Commit graph

5 commits

Author SHA1 Message Date
dabd03f556
refactor: Refactor and add tests for SaveProfileImage feature
- Add error handling checks for photo and home
- Add 3 new tests and modify an existing test for SaveProfileImageJob
- Test getting URL from photo object if alt text is provided
- Test using the first URL if multiple homepages are provided
2023-06-17 19:48:27 +01:00
7ee5bb00ba
Update Laravel Pint 2023-04-20 17:34:06 +01:00
d5bbed1eac Rename the tests to pass phpcs checks 2021-03-17 18:38:18 +00:00
c96ba5e82a Fixing tests
Most were a case of adding void return statement to setUp and tearDown,
also needed to add 6th `null` param to indieauth method. Its for
code_verifier, issue created to work out what I should actually be doing
with that.
2019-03-17 14:06:18 +00:00
e1aa814d8c Move some tests into their own subfodlers 2017-12-18 17:53:22 +00:00
Renamed from tests/Unit/SaveProfileImageJobTest.php (Browse further)