yawik / SimpleImport

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

Commit a659f99053181f3c2a8e3dbc37b8d8da0c5a779c breaks tests #49

Closed cbleek closed 4 years ago

cbleek commented 4 years ago
cbleek@php7-cb:~/AtomProjects/SimpleImport$ git checkout a659f99053181f3c2a8e3dbc37b8d8da0c5a779c
Note: checking out 'a659f99053181f3c2a8e3dbc37b8d8da0c5a779c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a659f99 Optional shuffle the Publish date on import
cbleek@php7-cb:~/AtomProjects/SimpleImport$ ./vendor/bin/phpunit 
PHPUnit 8.5.2 by Sebastian Bergmann and contributors.

...............................................................  63 / 181 ( 34%)
.............................F................................. 126 / 181 ( 69%)
..EE...................................................         181 / 181 (100%)

Time: 1.12 seconds, Memory: 28.00 MB

There were 2 errors:

1) SimpleImportTest\Hydrator\JobHydratorTest::testHydrate
ArgumentCountError: Too few arguments to function SimpleImport\Hydrator\JobHydrator::__construct(), 2 passed in /home/cbleek/AtomProjects/SimpleImport/test/SimpleImportTest/Hydrator/JobHydratorTest.php on line 59 and exactly 3 expected

/home/cbleek/AtomProjects/SimpleImport/src/Hydrator/JobHydrator.php:43
/home/cbleek/AtomProjects/SimpleImport/test/SimpleImportTest/Hydrator/JobHydratorTest.php:59

2) SimpleImportTest\Hydrator\JobHydratorTest::testHydrateInvalidObjectPassed
ArgumentCountError: Too few arguments to function SimpleImport\Hydrator\JobHydrator::__construct(), 2 passed in /home/cbleek/AtomProjects/SimpleImport/test/SimpleImportTest/Hydrator/JobHydratorTest.php on line 59 and exactly 3 expected

/home/cbleek/AtomProjects/SimpleImport/src/Hydrator/JobHydrator.php:43
/home/cbleek/AtomProjects/SimpleImport/test/SimpleImportTest/Hydrator/JobHydratorTest.php:59

--

There was 1 failure:

1) SimpleImportTest\Factory\CrawlerProcessor\JobProcessorFactoryTest::testInvoke
Psr\Container\ContainerInterface::get('FilterManager') was not expected to be called more than 3 times.

/home/cbleek/AtomProjects/SimpleImport/src/Factory/CrawlerProcessor/JobProcessorFactory.php:41
/home/cbleek/AtomProjects/SimpleImport/test/SimpleImportTest/Factory/CrawlerProcessor/JobProcessorFactoryTest.php:64

ERRORS!
Tests: 181, Assertions: 392, Errors: 2, Failures: 1.