TaxProviderPersister example

->with(
                [[
                    'identifier' => 'app\\testApp_test',
                    'name' => 'lol',
                    'processUrl' => 'https://example.com',
                    'priority' => 1,
                    'appId' => 'foo',
                ]],
                static::isInstanceOf(Context::class),
            );

        $persister = new TaxProviderPersister($repo);
        $persister->updateTaxProviders($manifest, 'foo', 'testApp', Context::createDefaultContext());
    }

    public function testCreateNewTaxProviderExisting(): void
    {
        $provider = $this->createTaxProviders([
            [
                'identifier' => 'test',
                'name' => 'lol',
                'processUrl' => 'https://example.com',
                'priority' => '1',
            ],
Home | Imprint | This part of the site doesn't use cookies.