Lint
This commit is contained in:
parent
e807aff3e6
commit
24ed5d4ab9
|
@ -20,12 +20,9 @@ use Phake;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
use Zoomyboy\LaravelNami\Fakes\MemberFake;
|
use Zoomyboy\LaravelNami\Fakes\MemberFake;
|
||||||
|
|
||||||
class NamiPutMemberActionTest extends TestCase
|
uses(DatabaseTransactions::class);
|
||||||
{
|
|
||||||
use DatabaseTransactions;
|
|
||||||
|
|
||||||
public function testItPutsAMember(): void
|
it('testItPutsAMember', function () {
|
||||||
{
|
|
||||||
Fee::factory()->create();
|
Fee::factory()->create();
|
||||||
$this->stubIo(PullMemberAction::class, fn ($mock) => $mock);
|
$this->stubIo(PullMemberAction::class, fn ($mock) => $mock);
|
||||||
$this->stubIo(PullMembershipsAction::class, fn ($mock) => $mock);
|
$this->stubIo(PullMembershipsAction::class, fn ($mock) => $mock);
|
||||||
|
@ -62,5 +59,4 @@ class NamiPutMemberActionTest extends TestCase
|
||||||
]);
|
]);
|
||||||
Phake::verify(app(PullMemberAction::class))->handle(55, 993);
|
Phake::verify(app(PullMemberAction::class))->handle(55, 993);
|
||||||
Phake::verify(app(PullMembershipsAction::class))->handle($member);
|
Phake::verify(app(PullMembershipsAction::class))->handle($member);
|
||||||
}
|
});
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue