ExpectedPrice example


        yield 'Test with simple product' => ['p1', 'p1'];
        yield 'Test variant support' => ['v2.1', 'v2.1'];
        yield 'Test parents will not be added' => ['p2', null];
    }

    public static function scriptProvider(): \Generator
    {
        yield 'Test add product case' => [
            'add-product-cases',
            [
                'p1' => new ExpectedPrice(100),
                'v2.1' => new ExpectedPrice(100),
                'p2' => null,
            ],
        ];

        yield 'Test remove product' => [
            'remove-product-cases',
            [
                'p1' => null,
                'v2.1' => new ExpectedPrice(100),
            ],
        ];
Home | Imprint | This part of the site doesn't use cookies.