Skip to content

add $message everywhere #3

@pretzlaw

Description

@pretzlaw

Usually assertions to allow to override the exception message:

public static function assertEquals($expected, $actual, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false)

Unfortunately our signature do not allow this

public static function assertFilterHasCallback($filter, $expectedCallback)

So we add a third argument to all tests forwarding the message to static::assertThat.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions