Commit graph

6 commits

Author SHA1 Message Date
Ian Dunn 04413b9f6c
Tests: Make test token 32 characters to match valid length 2022-09-13 11:53:26 -07:00
Ian Dunn ec8c052204
Migrate to latest set_up() methods
See https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/
2022-09-13 11:53:26 -07:00
Ian Dunn 0e88966246
Add code coverage report 2022-09-13 11:53:26 -07:00
Ian Dunn 87979f588f
Update to PHPUnit 9 for PHP 8 compatibility 2022-07-19 09:33:34 -07:00
Ian Dunn c6d7bbb7c1
Contributors: Reset profile hours when pledge deactivated.
See https://github.com/WordPress/five-for-the-future/issues/169
2022-05-02 14:22:26 -07:00
Kelly Dwan f32d26ef47
Organize email & authentication code (#101)
* Split Auth functionality out to new file

* Move email-related code into the email file

* Use `assertFalse` for boolean assertions

* Add `can_manage_pledge` to check user or token against a given pledge

Pulled out of e9763f6678

* Remove duplicate test
2019-11-20 10:40:45 -05:00
Renamed from plugins/wporg-5ftf/tests/test-email.php (Browse further)