123lens / postnl-rest-api-client

Client for the PostNL Rest API
MIT License
0 stars 0 forks source link

Test Tests\Feature\LabellingTest::generateLabelPickupBE fails #35

Open rvanvelzen opened 3 years ago

rvanvelzen commented 3 years ago
PHPUnit 9.4-ga59ece3a8 by Sebastian Bergmann and contributors.

.......................E......................................... 65 / 80 ( 81%)
...............                                                   80 / 80 (100%)

Time: 00:00.109, Memory: 18.00 MB

There was 1 error:

1) Tests\Feature\LabellingTest::generateLabelPickupBE
Exception: Mockfile not found '/home/richard/code/postnl-rest-api-client/tests/Mocks/Labelling/GenerateLabelPickupBeNoConfirmSuccess.json'

/home/richard/code/postnl-rest-api-client/tests/TestCase.php:111
/home/richard/code/postnl-rest-api-client/tests/TestCase.php:90
/home/richard/code/postnl-rest-api-client/tests/TestCase.php:66
/home/richard/code/postnl-rest-api-client/tests/TestCase.php:28
/home/richard/code/postnl-rest-api-client/tests/Feature/LabellingTest.php:150

ERRORS!
Tests: 80, Assertions: 375, Errors: 1.

GenerateLabelPickupBeNoConfirmSuccess.json is actually called GenerateLabelPickupBENoConfirmSuccess.json, which breaks on an OS with case sensitive file names

avido commented 3 years ago

Hi @rvanvelzen

Currently we have no longer access to the PostNL Api, therefore this project is kinda in a stalled state. You're more then welcome to create a PR for this issue. But currently i can not verify your change.