Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing PHP Unit #57

Open
ukmadlz opened this issue Jun 8, 2023 · 1 comment
Open

Failing PHP Unit #57

ukmadlz opened this issue Jun 8, 2023 · 1 comment
Labels
6.0.0 New major release

Comments

@ukmadlz
Copy link

ukmadlz commented Jun 8, 2023

$ ddev composer unit
> ./vendor/bin/phpunit test
PHPUnit 9.6.8 by Sebastian Bergmann and contributors.

...EEE.............                                               19 / 19 (100%)

Time: 00:00.109, Memory: 4.00 MB

There were 3 errors:

1) Infobip\Test\ObjectSerializerTest::testSimpleSerialization
Error: Class "Infobip\Test\SimpleModel" not found

/var/www/html/test/ObjectSerializerTest.php:27

2) Infobip\Test\ObjectSerializerTest::testSimpleDeserialization
Symfony\Component\Serializer\Exception\NotNormalizableValueException: Could not denormalize object of type "Infobip\Test\SimpleModel", no supporting normalizer found.

/var/www/html/vendor/symfony/serializer/Serializer.php:223
/var/www/html/vendor/symfony/serializer/Serializer.php:151
/var/www/html/Infobip/ObjectSerializer.php:118
/var/www/html/test/ObjectSerializerTest.php:63

3) Infobip\Test\ObjectSerializerTest::testValidation
Error: Class "Infobip\Test\SimpleModelWithValidations" not found

/var/www/html/test/ObjectSerializerTest.php:72

ERRORS!
Tests: 19, Assertions: 28, Errors: 3.
Script ./vendor/bin/phpunit test handling the unit event returned with error code 2
@dnumicmesa
Copy link

Hi, thank you for using our library and for reporting the issue. We are planning a new library release soon, which will address and solve these test issues.

@dnumicmesa dnumicmesa added the 6.0.0 New major release label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.0.0 New major release
Projects
None yet
Development

No branches or pull requests

2 participants