Commit Graph

12 Commits

Author SHA1 Message Date
Mike Jolley
0d6fe6e5eb Apply rules to tests and tasks 2024-03-21 16:57:59 +01:00
Rodrigo Primo
e4f0b89032 Replace expect()->contains() with verify()->arrayContains()
codeception/verify 2.1 removed support for expect()->contains() so we need
to replace it with verify()->arrayContains().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
9b56fdc688 Replace expect()->count() with verify()->arrayCount()
codeception/verify 2.1 removed support for expect()->count() so we need
to replace it with verify()->arrayCount().

[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
Pavel Dohnal
08c320423b Use a discouraged function in the tests directly
[MAILPOET-5245]
2023-04-20 12:00:29 +02:00
Jan Jakes
82aeb89854 Use strict types in tests
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Sam Najian
1c33628a46 Remove array_flatten usages
[MAILPOET-4475]
2022-07-14 12:23:00 +02:00
Sam Najian
fd1833a8ad Fix failing tests of AutomatedLatestContent::getPosts in MU
Switch to running the tests on blog_id=1

[[MAILPOET-4082]]
2022-04-18 23:46:10 +02:00
Sam Najian
53fedbc38a Fix failing test in MU installs
[MAILPOET-4082]
2022-04-18 11:43:47 +02:00
Sam
fd4379af4a Revert "Revert "Add tests to check output of API methods querying posts""
This reverts commit 2c5e1ab184.
2022-04-18 11:43:47 +02:00
Rodrigo Primo
2c5e1ab184 Revert "Add tests to check output of API methods querying posts"
This reverts commit be9e4ea9fd.
2022-04-11 16:30:59 -03:00
Sam Najian
be9e4ea9fd Add tests to check output of API methods querying posts
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00