Skip to content

PHPUnit 9 compatibility #7

Closed
Closed
@Naktibalda

Description

@Naktibalda

The following tests fail after upgrade to PHPUnit 9

  1. FrameworksTest: See in field with boolean
    Test tests/unit/Codeception/Module/FrameworksTest.php:testSeeInFieldWithBoolean
    Failed asserting that `` is in input's value: array (
    0 => '',
    )
    Failed asserting that an array contains false.
    Support HTML5 form attribute #1 PHPUnit\Framework\Assert::assertContains
    Compatibility with Symfony 5 #2 /c/Projects/lib-innerbrowser/tests/unit/Codeception/Module/TestsForWeb.php:524

  1. FrameworksTest: See in form fields
    Test tests/unit/Codeception/Module/FrameworksTest.php:testSeeInFormFields
    Failed asserting that `` is in input's value: array (
    0 => '',
    )
    Failed asserting that an array contains false.
    Support HTML5 form attribute #1 PHPUnit\Framework\Assert::assertContains
    Compatibility with Symfony 5 #2 /c/Projects/lib-innerbrowser/tests/unit/Codeception/Module/TestsForWeb.php:609

  1. FrameworksTest: Checking options with complex names
    Test tests/unit/Codeception/Module/FrameworksTest.php:testCheckingOptionsWithComplexNames
    Failed asserting that an array contains 4.
    Support HTML5 form attribute #1 /c/Projects/lib-innerbrowser/tests/unit/Codeception/Module/TestsForWeb.php:1419

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