alex-mpoet
a6caf0a1e6
Add bridge ping endpoint
...
[MAILPOET-6030]
2024-06-12 11:16:51 +02:00
Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Rodrigo Primo
5bc5b5ebd2
Replace expect()->notEmpty() with verify()->notEmpty()
...
codeception/verify 2.1 removed support for expect()->notEmpty() so we need
to replace it with verify()->notEmpty().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
00c5250cff
Replace expect()->notEquals() with verify()->notEquals()
...
codeception/verify 2.1 removed support for expect()->notEquals() so we need
to replace it with verify()->notEquals().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
5d839277d6
Replace expect()->same() with verify()->same()
...
codeception/verify 2.1 removed support for expect()->same() so we need
to replace it with verify()->same().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
709be1d541
Replace expect()->null() with verify()->null()
...
codeception/verify 2.1 removed support for expect()->null() so we need
to replace it with verify()->null().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
997f635d4a
Replace expect()->false() with verify()->false()
...
codeception/verify 2.1 removed support for expect()->false() so we need
to replace it with verify()->false().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
9adbf81a78
Replace expect()->true() with verify()->true()
...
codeception/verify 2.1 removed support for expect()->true() so we need
to replace it with verify()->true().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22
Replace expect()->equals() with verify()->equals()
...
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Brezo Cordero
b4b49166f2
Store the subscription type when updating the key
...
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Rostislav Wolny
eb06b6d01e
Preserve key state data when checking key and get invalid result
...
The state data contain info about plan limits etc. we don't want
to lose the info when key becomes underprivileged so that we can
show the limits in notifications.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
cd5a023b35
Move onSettingsChange from Bridge service to SettingsChangeHandler
...
Bridge is a low level service that processes requests and responses to/from Bridge API.
This change is needed so that we can remove dependency on MailPoet\Util\License\Features\Subscribers
service from the Bridge. The dependecy is a higher level service and may easily cause a circular dependency issue.
The SettingsChangeHandler is service for handling side effects
when saving settings. This feels as a better place to put the functionality.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
4995ed93f0
Refactor invalidation of MSS key to non static method
...
This is the olny staically called method from the service. In this commit I refactored it to non-static so that it works properly with injected services.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
37d6d612c4
Detect and save api key access restriction reason during key check
...
[MAILPOET-5103]
2023-04-26 10:57:40 +02:00
John Oleksowicz
e7f766aedf
Remove empty _afters
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
376dca1098
Remove unnecessary truncating
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8
Extract customer creation/cleanup
...
This also ensures that cleanup always runs after all integration tests
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
Sam Najian
cdb5b0d3cd
Extend the test verifying correct storing of MSS key states
...
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
ff7913952b
Update bridge tests for 403 error code
...
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Rostislav Wolny
574c1cdd8f
Reuse mocked api data in Bridre test case
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Rostislav Wolny
af203ba29e
Refactor AuthorizedSenderDomainControllerTest to avoid live api calls
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Rostislav Wolny
d0b1ff3aef
Refactor sender domain related bridge integration tests to use mocks
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
370de8050a
Add mailpoet_verified_sender_domains to newsletters and settings page
...
Update tests
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
417c0897e8
Add API methods for fetching, creating and verifying
...
sender domain
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
04dc774104
Add tests for base PHP functions
...
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00