Skip to content

Test errors in 4.1 #32

Description

@matthewhilton
1) availability_othercompleted_condition_testcase::test_constructor
TypeError: PHPUnit\Framework\Assert::assertContains(): Argument #2 ($haystack) must be of type iterable, string given, called in /var/www/ec-41/availability/condition/othercompleted/tests/condition_test.php on line 118

/var/www/ec-41/availability/condition/othercompleted/tests/condition_test.php:118
/var/www/ec-41/lib/phpunit/classes/advanced_testcase.php:80

There was 1 warning:

1) availability_othercompleted_condition_testcase::test_usage
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

/var/www/ec-41/lib/phpunit/classes/advanced_testcase.php:80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions