Using the following tests failed:
#[Test]
#[DataProviderExternal(StringProvider::class, 'trimmed')]
#[DataProviderExternal(StringProvider::class, 'withWhitespace')]
public function invalidDate(string $value): void
{
self::expectException(DatetimeException::class);
new DayCategoryName($value);
}
Failure:
3) App\Tests\Unit\Bridge\Uploader\Domain\DayCategoryNameTest::invalidDate
The data provider specified for App\Tests\Unit\Bridge\Uploader\Domain\DayCategoryNameTest::invalidDate is invalid
The key "string-arbitrary-sentence" has already been defined by a previous data provider
/Users/oskar.stark/dev/sensio/lsa-vms/tests/Unit/Bridge/Uploader/Domain/DayCategoryNameTest.php:56
Idea:
The library could prefix the values internally to avoid duplicate keys from the dataprovider
Using the following tests failed:
Failure:
Idea:
The library could prefix the values internally to avoid duplicate keys from the dataprovider