Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Test failure with recent PHPUnit version #173

@remicollet

Description

@remicollet

Discovered in Fedora QA since PHPUnit was updated to 6.4.3
https://apps.fedoraproject.org/koschei/package/php-zendframework-zend-mail?collection=f28

There were 4 failures:
1) ZendTest\Mail\Header\SenderTest::testFromStringWithInvalidInput with data set #0 ('Sender: foo', 'Zend\Mail\Exception\InvalidAr...eption')
Failed asserting that exception message is empty but is 'The input is not a valid email address. Use the basic format local-part@hostname'.
2) ZendTest\Mail\Header\SenderTest::testFromStringWithInvalidInput with data set #1 ('Sender: foo<foo>', 'Zend\Mail\Exception\InvalidAr...eption')
Failed asserting that exception message is empty but is 'The input is not a valid email address. Use the basic format local-part@hostname'.
3) ZendTest\Mail\Header\SenderTest::testFromStringWithInvalidInput with data set #2 ('Sender: foo foo', 'Zend\Mail\Header\Exception\In...eption')
Failed asserting that exception message is empty but is 'Invalid header value for Sender string'.
4) ZendTest\Mail\Header\SenderTest::testFromStringWithInvalidInput with data set #3 ('Sender: <foo> foo', 'Zend\Mail\Header\Exception\In...eption')
Failed asserting that exception message is empty but is 'Invalid header value for Sender string'.

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