Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlopezinc committed Nov 2, 2023
1 parent 0ff16cb commit 72ae82a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ jobs:
php artisan passport:keys --force
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: php artisan test
run: |
php artisan test --testsuite=Unit
php artisan test --testsuite=Feature
2 changes: 1 addition & 1 deletion tests/Unit/Importers/Chrome/ImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function testWillStoreBookmarks(): void
$this->mockFilesystem(function (MockObject $filesystem) {
$filesystem->expects($this->once())->method('exists')->willReturn(true);
$filesystem->expects($this->once())->method('get')->willReturn(
file_get_contents(base_path('tests/stubs/imports/chromeExportFile.html'))
file_get_contents(base_path('tests/stubs/Imports/chromeExportFile.html'))
);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Importers/FireFox/ImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public function testWillStoreBookmarks(): void
$this->mockFilesystem(function (MockObject $filesystem) {
$filesystem->expects($this->once())->method('exists')->willReturn(true);
$filesystem->expects($this->once())->method('get')->willReturn(
file_get_contents(base_path('tests/stubs/imports/firefox.html'))
file_get_contents(base_path('tests/stubs/Imports/firefox.html'))
);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Importers/Instapaper/ImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function testStoreBookmarks(): void
$this->mockFilesystem(function (MockObject $filesystem) {
$filesystem->expects($this->once())->method('exists')->willReturn(true);
$filesystem->expects($this->once())->method('get')->willReturn(
file_get_contents(base_path('tests/stubs/imports/instapaper.html'))
file_get_contents(base_path('tests/stubs/Imports/instapaper.html'))
);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Importers/Pocket/ImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function testWillStoreBookmarks(): void
$this->mockFilesystem(function (MockObject $filesystem) {
$filesystem->expects($this->once())->method('exists')->willReturn(true);
$filesystem->expects($this->once())->method('get')->willReturn(
file_get_contents(base_path('tests/stubs/imports/pocketExportFile.html'))
file_get_contents(base_path('tests/stubs/Imports/pocketExportFile.html'))
);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Importers/Safari/ImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function testStoreBookmarks(): void
$this->mockFilesystem(function (MockObject $filesystem) {
$filesystem->expects($this->once())->method('exists')->willReturn(true);
$filesystem->expects($this->once())->method('get')->willReturn(
file_get_contents(base_path('tests/stubs/imports/SafariExportFile.html'))
file_get_contents(base_path('tests/stubs/Imports/SafariExportFile.html'))
);
});

Expand Down

0 comments on commit 72ae82a

Please sign in to comment.