Annotations
9 errors and 2 warnings
Run tests:
tests/Api/AjaxLibraryApiTest.php#L162
ErrorException: rename(vendor/orchestra/testbench-core/laravel/storage/interactive-video.h5p,vendor/orchestra/testbench-core/laravel/storage/app/h5p/temp/h5p-6618d692728ee.h5p): No such file or directory
|
Run tests:
tests/Api/AjaxLibraryApiTest.php#L177
ErrorException: rename(vendor/orchestra/testbench-core/laravel/storage/interactive-video.h5p,vendor/orchestra/testbench-core/laravel/storage/app/h5p/temp/h5p-6618d692728ee.h5p): No such file or directory
|
Run tests:
tests/Api/AjaxLibraryApiTest.php#L200
ErrorException: rename(vendor/orchestra/testbench-core/laravel/storage/interactive-video.h5p,vendor/orchestra/testbench-core/laravel/storage/app/h5p/temp/h5p-6618d692728ee.h5p): No such file or directory
|
Run tests:
tests/Api/AjaxLibraryApiTest.php#L61
Expected response status code [200] but received 500.
Failed asserting that 200 is identical to 500.
The following exception occurred during the last request:
ErrorException: rename(vendor/orchestra/testbench-core/laravel/storage/arithmetic-quiz.h5p,vendor/orchestra/testbench-core/laravel/storage/app/h5p/temp/h5p-6618d692728ee.h5p): No such file or directory in src/Services/HeadlessH5PService.php:108
Stack trace:
#0 vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate/Foundation/Bootstrap/HandleExceptions->handleError(2, 'rename(/__w/H5P...', 'sr...', 108)
#1 [internal function]: Illuminate/Foundation/Bootstrap/HandleExceptions->Illuminate/Foundation/Bootstrap/{closure}(2, 'rename(/__w/H5P...', 'sr...', 108)
#2 src/Services/HeadlessH5PService.php(108): rename('ve...', 've...')
#3 src/Services/HeadlessH5PService.php(740): EscolaLms/HeadlessH5P/Services/HeadlessH5PService->validatePackage(Object(Illuminate/Http/UploadedFile), false, false)
#4 src/Http/Controllers/LibraryApiController.php(97): EscolaLms/HeadlessH5P/Services/HeadlessH5PService->uploadLibrary('1', Object(Illuminate/Http/UploadedFile), '1')
#5 vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): EscolaLms/HeadlessH5P/Http/Controllers/LibraryApiController->libraryUpload(Object(EscolaLms/HeadlessH5P/Http/Requests/LibraryUploadRequest))
#6 vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate/Routing/Controller->callAction('libraryUpload', Array)
#7 vendor/laravel/framework/src/Illuminate/Routing/Route.php(259): Illuminate/Routing/ControllerDispatcher->dispatch(Object(Illuminate/Routing/Route), Object(EscolaLms/HeadlessH5P/Http/Controllers/LibraryApiController), 'libraryUpload')
#8 vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate/Routing/Route->runController()
#9 vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate/Routing/Route->run()
#10 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate/Routing/Router->Illuminate/Routing/{closure}(Object(Illuminate/Http/Request))
#11 src/Http/Middleware/H5PLangMiddleware.php(19): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#12 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): EscolaLms/HeadlessH5P/Http/Middleware/H5PLangMiddleware->handle(Object(Illuminate/Http/Request), Object(Closure))
#13 vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#14 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate/Auth/Middleware/Authenticate->handle(Object(Illuminate/Http/Request), Object(Closure), 'api')
#15 src/Http/Middleware/QueryToken.php(16): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#16 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): EscolaLms/HeadlessH5P/Http/Middleware/QueryToken->handle(Object(Illuminate/Http/Request), Object(Closure))
#17 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#18 vendor/laravel/framework/src/Illuminate/Routing/Router.php(797): Illuminate/Pipeline/Pipeline->then(Object(Closure))
#19 vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate/Routing/Router->runRouteWithinStack(Object(Illuminate/Routing/Route), Object(Illuminate/Http/Request))
#20 vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate/Routing/Router->runRoute(Object(Illuminate/Http/Request), Object(Illuminate/Routing/Route))
#21 vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate/Routing/Router->dispatchToRoute(Object(Illuminate/Http/Request))
#22 vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate/Routing/Router->dispatch(Object(Illuminate/Http/Request))
#23 vendor/laravel/framework/src/
|
Run tests:
tests/Api/AjaxLibraryApiTest.php#L94
Expected response status code [200] but received 500.
Failed asserting that 200 is identical to 500.
The following exception occurred during the last request:
ErrorException: file_put_contents(vendor/orchestra/testbench-core/laravel/storage/app/h5p/temp/h5p-6618d692728ee.h5p): Failed to open stream: No such file or directory in vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php:128
Stack trace:
#0 vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate/Foundation/Bootstrap/HandleExceptions->handleError(2, 'file_put_conten...', 've...', 128)
#1 [internal function]: Illuminate/Foundation/Bootstrap/HandleExceptions->Illuminate/Foundation/Bootstrap/{closure}(2, 'file_put_conten...', 've...', 128)
#2 vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php(128): file_put_contents('ve...', 've...')
#3 vendor/guzzlehttp/promises/src/FulfilledPromise.php(48): GuzzleHttp/Handler/MockHandler->GuzzleHttp/Handler/{closure}(Object(GuzzleHttp/Psr7/Response))
#4 vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp/Promise/FulfilledPromise::GuzzleHttp/Promise/{closure}()
#5 vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp/Promise/TaskQueue->run(true)
#6 vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp/Promise/Promise->invokeWaitFn()
#7 vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp/Promise/Promise->waitIfPending()
#8 vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp/Promise/Promise->invokeWaitList()
#9 vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp/Promise/Promise->waitIfPending()
#10 vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp/Promise/Promise->wait()
#11 src/Repositories/H5PRepository.php(96): GuzzleHttp/Client->request('GET', 'https://api.h5p...', Array)
#12 src/Services/HeadlessH5PService.php(679): EscolaLms/HeadlessH5P/Repositories/H5PRepository->fetchExternalData('https://api.h5p...', NULL, true, 've...')
#13 src/Services/HeadlessH5PService.php(714): EscolaLms/HeadlessH5P/Services/HeadlessH5PService->callHubEndpoint('api.h5p.org/v1/...')
#14 src/Http/Controllers/LibraryApiController.php(85): EscolaLms/HeadlessH5P/Services/HeadlessH5PService->libraryInstall('H5P.ArithmeticQ...')
#15 vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): EscolaLms/HeadlessH5P/Http/Controllers/LibraryApiController->libraryInstall(Object(EscolaLms/HeadlessH5P/Http/Requests/LibraryInstallRequest))
#16 vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate/Routing/Controller->callAction('libraryInstall', Array)
#17 vendor/laravel/framework/src/Illuminate/Routing/Route.php(259): Illuminate/Routing/ControllerDispatcher->dispatch(Object(Illuminate/Routing/Route), Object(EscolaLms/HeadlessH5P/Http/Controllers/LibraryApiController), 'libraryInstall')
#18 vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate/Routing/Route->runController()
#19 vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate/Routing/Route->run()
#20 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate/Routing/Router->Illuminate/Routing/{closure}(Object(Illuminate/Http/Request))
#21 src/Http/Middleware/H5PLangMiddleware.php(19): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#22 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): EscolaLms/HeadlessH5P/Http/Middleware/H5PLangMiddleware->handle(Object(Illuminate/Http/Request), Object(Closure))
#23 vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#24 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate/Auth/Middleware/Authenticate->handle(Object(Illuminate/Http/Request), Object(Closure), 'api')
#25 src/Http/Middleware/QueryToken.php(16): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#26 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Escol
|
Run tests:
tests/Api/ContentApiTest.php#L27
Expected response status code [200] but received 500.
Failed asserting that 200 is identical to 500.
The following exception occurred during the last request:
ErrorException: rename(vendor/orchestra/testbench-core/laravel/storage/arithmetic-quiz.h5p,vendor/orchestra/testbench-core/laravel/storage/app/h5p/temp/h5p-6618d692728ee.h5p): No such file or directory in src/Services/HeadlessH5PService.php:108
Stack trace:
#0 vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate/Foundation/Bootstrap/HandleExceptions->handleError(2, 'rename(/__w/H5P...', 'sr...', 108)
#1 [internal function]: Illuminate/Foundation/Bootstrap/HandleExceptions->Illuminate/Foundation/Bootstrap/{closure}(2, 'rename(/__w/H5P...', 'sr...', 108)
#2 src/Services/HeadlessH5PService.php(108): rename('ve...', 've...')
#3 src/Http/Controllers/LibraryApiController.php(37): EscolaLms/HeadlessH5P/Services/HeadlessH5PService->validatePackage(Object(Illuminate/Http/UploadedFile))
#4 vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): EscolaLms/HeadlessH5P/Http/Controllers/LibraryApiController->store(Object(EscolaLms/HeadlessH5P/Http/Requests/LibraryStoreRequest))
#5 vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate/Routing/Controller->callAction('store', Array)
#6 vendor/laravel/framework/src/Illuminate/Routing/Route.php(259): Illuminate/Routing/ControllerDispatcher->dispatch(Object(Illuminate/Routing/Route), Object(EscolaLms/HeadlessH5P/Http/Controllers/LibraryApiController), 'store')
#7 vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate/Routing/Route->runController()
#8 vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate/Routing/Route->run()
#9 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate/Routing/Router->Illuminate/Routing/{closure}(Object(Illuminate/Http/Request))
#10 src/Http/Middleware/H5PLangMiddleware.php(19): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#11 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): EscolaLms/HeadlessH5P/Http/Middleware/H5PLangMiddleware->handle(Object(Illuminate/Http/Request), Object(Closure))
#12 vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#13 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate/Routing/Middleware/SubstituteBindings->handle(Object(Illuminate/Http/Request), Object(Closure))
#14 vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(126): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#15 vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(92): Illuminate/Routing/Middleware/ThrottleRequests->handleRequest(Object(Illuminate/Http/Request), Object(Closure), Array)
#16 vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(54): Illuminate/Routing/Middleware/ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate/Http/Request), Object(Closure), 'api', Object(Closure))
#17 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate/Routing/Middleware/ThrottleRequests->handle(Object(Illuminate/Http/Request), Object(Closure), 'api')
#18 vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate/Pipeline/Pipeline->Illuminate/Pipeline/{closure}(Object(Illuminate/Http/Request))
#19 vendor/laravel/framework/src/Illuminate/Routing/Router.php(797): Illuminate/Pipeline/Pipeline->then(Object(Closure))
#20 vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate/Routing/Router->runRouteWithinStack(Object(Illuminate/Routing/Route), Object(Illuminate/Http/Request))
#21 vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate/Routing/Router->runRoute(Object(Illuminate/Http/Request), Object(Illuminate/Routing/Route))
#22 vendor
|
Run tests:
tests/Repositories/H5PEditorStorageRepositoryTest.php#L198
Found unexpected file or directory at path [/contents/123/audio1.mp3].
Failed asserting that true is false.
|
Run tests:
tests/Repositories/H5PEditorStorageRepositoryTest.php#L216
Found unexpected file or directory at path [/contents/123/audio/audio.mp3].
Failed asserting that true is false.
|
Run tests
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading