You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok so some debugging from my comments on #37 results in this issue that your tests rely on resources on your laptop. You will need to move those items into the code base as test resources and then reference them more relatively.
Testing App\Tests\Command\CheckFixityCommandTest
stdClass::__set_state(array(
'resource_id' => '/home/mark/Documents/hacking/riprap/resources/filesystemexample/resourcefiles/file1.bin',
'last_modified_timestamp' => '2018-10-28T19:04:20-0800',
))
Error : Call to a member function warning() on null
/sw/var/www/DAM2/riprap/src/Plugin/PluginFetchDigestFromShell.php:28
/sw/var/www/DAM2/riprap/src/Command/CheckFixityCommand.php:117
/sw/var/www/DAM2/riprap/vendor/symfony/console/Command/Command.php:255
/sw/var/www/DAM2/riprap/vendor/symfony/console/Tester/CommandTester.php:76
/sw/var/www/DAM2/riprap/tests/Command/CheckFixityCommandTest.php:26
So it is trying to fetch the file and it doesn't exist so it errors out.
The text was updated successfully, but these errors were encountered:
Ok so some debugging from my comments on #37 results in this issue that your tests rely on resources on your laptop. You will need to move those items into the code base as test resources and then reference them more relatively.
So it is trying to fetch the file and it doesn't exist so it errors out.
The text was updated successfully, but these errors were encountered: