pingcrm icon indicating copy to clipboard operation
pingcrm copied to clipboard

Fix $assert must be of type Inertia\Testing\Assert

Open SamuelMwangiW opened this issue 3 years ago • 1 comments

Fix Argument #1 ($assert) must be of type Inertia\Testing\Assert, Inertia\Testing\AssertableInertia given error in tests

image

SamuelMwangiW avatar Jan 24 '22 06:01 SamuelMwangiW

It would be much better to make it in this way: use Inertia\Testing\AssertableInertia as Assert

Thanks @Leotrimlota for your review. I have update the class to a alias instead. I personally would have preferred the Class name in full but I agree to be wrong.

SamuelMwangiW avatar Aug 31 '22 13:08 SamuelMwangiW