This commit is contained in:
philipp lang 2024-11-07 00:38:28 +01:00
parent e807aff3e6
commit 24ed5d4ab9
1 changed files with 36 additions and 40 deletions

View File

@ -20,12 +20,9 @@ use Phake;
use Tests\TestCase;
use Zoomyboy\LaravelNami\Fakes\MemberFake;
class NamiPutMemberActionTest extends TestCase
{
use DatabaseTransactions;
uses(DatabaseTransactions::class);
public function testItPutsAMember(): void
{
it('testItPutsAMember', function () {
Fee::factory()->create();
$this->stubIo(PullMemberAction::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(PullMembershipsAction::class))->handle($member);
}
}
});