Skip to content

Add model fields to course model #728

Add model fields to course model

Add model fields to course model #728

Triggered via pull request March 12, 2024 12:16
Status Failure
Total duration 5m 3s
Artifacts

test-cc.yml

on: pull_request
phpunit-code-coverage
4m 54s
phpunit-code-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L203
PHPUnit/Framework/InvalidArgumentException: Argument #2 of PHPUnit/Framework/Assert::assertCount() must be a countable or iterable
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L272
PHPUnit/Framework/InvalidArgumentException: Argument #2 of PHPUnit/Framework/Assert::assertCount() must be a countable or iterable
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L328
PHPUnit/Framework/InvalidArgumentException: Argument #2 of PHPUnit/Framework/Assert::assertCount() must be a countable or iterable
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L907
ErrorException: Undefined array key "data"
phpunit-code-coverage: tests/APIs/ApiResponseCacheTest.php#L104
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L42
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L77
Failed asserting that false is true.
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L398
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L418
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/CourseProgressApiTest.php#L444
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage
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/.
phpunit-code-coverage
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/