Skip to content

Commit

Permalink
Fix test (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
mako321 authored Mar 12, 2024
1 parent 22e4e6d commit 72eaa56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: composer update

- name: Require composer swagger package
run: composer require darkaonline/l5-swagger:8.1.0
run: composer require darkaonline/l5-swagger

- name: Discover packages
run: vendor/bin/testbench package:discover --ansi
Expand Down
2 changes: 1 addition & 1 deletion tests/API/ScormAdminApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function test_content_upload_invalid_data_format(): void
]);

$response->assertUnprocessable();
$response->assertJsonValidationErrors(['zip' => 'The zip field must be a file of type: zip.']);
$response->assertJsonValidationErrors(['zip' => 'must be a file of type: zip.']);
}

public function test_content_parse(): void
Expand Down

0 comments on commit 72eaa56

Please sign in to comment.