Skip to content

Instantly share code, notes, and snippets.

@emodric
Created June 10, 2014 08:39
Show Gist options
  • Save emodric/87a166a3cfb0be42e1f6 to your computer and use it in GitHub Desktop.
Save emodric/87a166a3cfb0be42e1f6 to your computer and use it in GitHub Desktop.
TagsBundle tests failure
eddie@abyss: ~/repos/netgen/TagsBundle [fixpgsqlinvalidcolumn] $ phpunit -c phpunit.xml
PHPUnit 4.1.0 by Sebastian Bergmann.
Configuration read from /home/eddie/repos/netgen/TagsBundle/phpunit.xml
............................................................... 63 / 222 ( 28%)
.........................................................I..... 126 / 222 ( 56%)
............................................................I.. 189 / 222 ( 85%)
...........................F.....
Time: 10.25 seconds, Memory: 107.25Mb
There was 1 failure:
1) Netgen\TagsBundle\Tests\SPI\FieldType\TagsIntegrationTest::testUpdateExternalData
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
0 => Array (
- 'id' => 40
- 'parent_id' => 7
- 'main_tag_id' => 0
+ 'id' => '8'
+ 'parent_id' => '0'
+ 'main_tag_id' => '0'
+ 'keyword' => 'ez publish'
+ 'depth' => '1'
+ 'path_string' => '/8/'
+ 'modified' => '1343169159'
+ 'remote_id' => 'eccbc87e4b5ce2fe28308fd9f2a7baf3'
+ )
+ 1 => Array (
+ 'id' => '40'
+ 'parent_id' => '7'
+ 'main_tag_id' => '0'
'keyword' => 'eztags'
- 'depth' => 3
+ 'depth' => '3'
'path_string' => '/8/7/40/'
- 'modified' => 1308153110
+ 'modified' => '1308153110'
'remote_id' => '182be0c5cdcd5072bb1864cdee4d3d6e'
- )
- 1 => Array (
- 'id' => 8
- 'parent_id' => 0
- 'main_tag_id' => 0
- 'keyword' => 'ez publish'
- 'depth' => 1
- 'path_string' => '/8/'
- 'modified' => 1343169159
- 'remote_id' => 'eccbc87e4b5ce2fe28308fd9f2a7baf3'
)
)
/home/eddie/repos/netgen/TagsBundle/Tests/SPI/FieldType/TagsIntegrationTest.php:223
/home/eddie/repos/netgen/TagsBundle/vendor/ezsystems/ezpublish-kernel/eZ/Publish/SPI/Tests/FieldType/BaseIntegrationTest.php:537
FAILURES!
Tests: 222, Assertions: 487, Failures: 1, Incomplete: 2.
eddie@abyss: ~/repos/netgen/TagsBundle [fixpgsqlinvalidcolumn] $ phpunit -c phpunit-integration-legacy.xml
PHPUnit 4.1.0 by Sebastian Bergmann.
Configuration read from /home/eddie/repos/netgen/TagsBundle/phpunit-integration-legacy.xml
.............................F......................
Time: 3.1 seconds, Memory: 27.00Mb
There was 1 failure:
1) Netgen\TagsBundle\Tests\API\Repository\FieldType\TagsIntegrationTest::testUpdatedDataCorrect
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
0 => Netgen\TagsBundle\API\Repository\Values\Tags\Tag Object (
- 'id' => 40
- 'parentTagId' => 7
- 'mainTagId' => 0
+ 'id' => '8'
+ 'parentTagId' => '0'
+ 'mainTagId' => '0'
+ 'keyword' => 'ez publish'
+ 'depth' => '1'
+ 'pathString' => '/8/'
+ 'modificationDate' => 2012-07-25T00:32:39+0200
+ 'remoteId' => 'eccbc87e4b5ce2fe28308fd9f2a7baf3'
+ )
+ 1 => Netgen\TagsBundle\API\Repository\Values\Tags\Tag Object (
+ 'id' => '40'
+ 'parentTagId' => '7'
+ 'mainTagId' => '0'
'keyword' => 'eztags'
- 'depth' => 3
+ 'depth' => '3'
'pathString' => '/8/7/40/'
'modificationDate' => 2011-06-15T17:51:50+0200
'remoteId' => '182be0c5cdcd5072bb1864cdee4d3d6e'
- )
- 1 => Netgen\TagsBundle\API\Repository\Values\Tags\Tag Object (
- 'id' => 8
- 'parentTagId' => 0
- 'mainTagId' => 0
- 'keyword' => 'ez publish'
- 'depth' => 1
- 'pathString' => '/8/'
- 'modificationDate' => 2012-07-25T00:32:39+0200
- 'remoteId' => 'eccbc87e4b5ce2fe28308fd9f2a7baf3'
)
)
/home/eddie/repos/netgen/TagsBundle/Tests/API/Repository/FieldType/TagsIntegrationTest.php:212
/home/eddie/repos/netgen/TagsBundle/vendor/ezsystems/ezpublish-kernel/eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php:761
FAILURES!
Tests: 52, Assertions: 66, Failures: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment