yawik / SimpleImport

Simple Job Import Module. Imports job openings into YAWIK
MIT License
0 stars 1 forks source link

fixes yawik/SimpleImport#21 #29

Closed mbo-s closed 5 years ago

cbleek commented 5 years ago

Der GeoCoder nutzt noch egeloen/http-adapter

https://github.com/geocoder-php/php-common/blob/v3.3.2/composer.json

Vielleicht reicht es, wenn wir den Geocoder aktualisieren

cbleek commented 5 years ago

@TiSiE

Travis läuft für >=php7.1 durch

Aber 2 Tests sind kaputt https://travis-ci.org/yawik/SimpleImport/jobs/494250387

Runtime:       PHP 7.1.11
Configuration: /home/travis/build/yawik/SimpleImport/phpunit.xml.dist
.......................................................FF......  63 / 164 ( 38%)
............................................................... 126 / 164 ( 76%)
......................................                          164 / 164 (100%)
Time: 254 ms, Memory: 20.00MB
There were 2 failures:
1) SimpleImportTest\Entity\CrawlerTest::testGetItems
Failed asserting that Array &0 (
    0 => SimpleImport\Entity\Item Object &0000000033f191a700000000682ff541 (
        'importId' => 'importId1'
        'importData' => Array &1 ()
        'documentId' => null
        'dateCreated' => DateTime Object &0000000033f191a000000000682ff541 (
            'date' => '2019-02-16 16:16:14.126088'
            'timezone_type' => 3
            'timezone' => 'UTC'
        )
        'dateModified' => DateTime Object &0000000033f191a000000000682ff541
        'dateDeleted' => null
        'dateSynced' => null
        'crawler' => SimpleImport\Entity\Crawler Object &0000000033f191a500000000682ff541 (
            'name' => null
            'organization' => null
            'type' => null
            'feedUri' => null
            'runDelay' => null
            'dateLastRun' => null
            'options' => null
            'items' => Core\Entity\Collection\ArrayCollection Object &0000000033f191ba00000000682ff541 (
                'elements' => Array &2 (
                    0 => SimpleImport\Entity\Item Object &0000000033f191a700000000682ff541
                )
            )
            'id' => null
            'metaData' => Array &3 ()
        )
        'id' => null
    )
) is identical to Array &0 (
    'importId1' => SimpleImport\Entity\Item Object &0000000033f191a700000000682ff541 (
        'importId' => 'importId1'
        'importData' => Array &1 ()
        'documentId' => null
        'dateCreated' => DateTime Object &0000000033f191a000000000682ff541 (
            'date' => '2019-02-16 16:16:14.126088'
            'timezone_type' => 3
            'timezone' => 'UTC'
        )
        'dateModified' => DateTime Object &0000000033f191a000000000682ff541
        'dateDeleted' => null
        'dateSynced' => null
        'crawler' => SimpleImport\Entity\Crawler Object &0000000033f191a500000000682ff541 (
            'name' => null
            'organization' => null
            'type' => null
            'feedUri' => null
            'runDelay' => null
            'dateLastRun' => null
            'options' => null
            'items' => Core\Entity\Collection\ArrayCollection Object &0000000033f191ba00000000682ff541 (
                'elements' => Array &2 (
                    0 => SimpleImport\Entity\Item Object &0000000033f191a700000000682ff541
                )
            )
            'id' => null
            'metaData' => Array &3 ()
        )
        'id' => null
    )
).