[pkg-php-pear] Bug#1023353: [php-faker] Failing tests with PHP 8.2

David Prévot taffit at debian.org
Wed Nov 2 18:57:00 GMT 2022


Package: php-faker
Version: 1.20.0+dfsg-1
Severity: important
Control: block 1014460 by -1

Hi Robin,

There are some tests failure under PHP 8.2 (rc5).

https://qa.debian.org/excuses.php?experimental=1&package=php-defaults

Even if there have been no updated version upstream since July, it
looks like the repository is still active, so hopefully “just”
cherry-picking the needed fixes will be enough.

Here are the current failures:

> There were 2 failures:
> 
> 1) Faker\Test\Core\DateTimeTest::testCentury
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'XIX'
> +'XIII'
> 
> /tmp/autopkgtest-lxc.msk17iv_/downtmp/build.9oU/src/test/Faker/Core/DateTimeTest.php:222
> 
> 2) Faker\Test\GeneratorTest::testUniqueReturnsUniqueGeneratorThatGeneratesUniqueValues
> Failed asserting that two arrays are equal.
> --- Expected
> +++ Actual
> @@ @@
>  Array (
> -    0 => 'foo'
> -    1 => 'bar'
> +    0 => 'bar'
> +    1 => 'foo'
>      2 => 'baz'
>  )
> 
> /tmp/autopkgtest-lxc.msk17iv_/downtmp/build.9oU/src/test/Faker/GeneratorTest.php:283
> 
> --

Regards

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20221102/4fb81cc3/attachment.sig>


More information about the pkg-php-pear mailing list