it('can create a new origin', function(){ $newData = AccountOrigin::factory()->make(); livewire(AccountOriginResource\Pages\ManageAccountOrigins::class) ->mountAction('create') ->setActionData([ 'name' => $newData->name, 'description' => $newData->description, ]) ->callMountedAction(); $this->assertDatabaseHas(AccountOrigin::class, [ 'name' => $newData->name, 'description' => $newData->description, ]);});