Skip to content

[Parameter #0 [ <required> array $config ]] in class Spatie\LaravelData\Support\DataConfig while testing #469

Closed Answered by elabuwa
elabuwa asked this question in Q&A
Discussion options

You must be logged in to vote

I've resolved this.
Turns out, you need to extend from "Tests\TestCase" rather than "PHPUnit\Framework\TestCase".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elabuwa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant