Skip to content

Commit

Permalink
Add psr-4 autoload map for app namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
3m1n3nc3 committed Aug 28, 2024
1 parent 537cf9d commit d81fbf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: composer show -D

- name: Execute tests
run: ./vendor/bin/pest --coverage --ci
run: ./vendor/bin/pest --ci --coverage --display-errors --testdox
env:
XDEBUG_MODE: coverage

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"autoload-dev": {
"psr-4": {
"ToneflixCode\\ResourceModifier\\Tests\\": "tests",
"ToneflixCode\\ResourceModifier\\App\\": "app",
"ToneflixCode\\ResourceModifier\\Tests\\Database\\Factories\\": "tests/database/factories"
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/database/factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public function definition(): array
'remember_token' => Str::random(10),
];
}
}
}

0 comments on commit d81fbf6

Please sign in to comment.