assertCmsPage example

$this->setVisibilities();
    }

    public function testCmsPageResolved(): void
    {
        $this->browser->request(
            'GET',
            '/store-api/category/' . $this->ids->get('category')
        );

        $this->assertCmsPage($this->ids->get('category')$this->ids->get('cms-page'));
    }

    public function testIncludesConsidered(): void
    {
        $this->browser->request(
            'POST',
            '/store-api/category/' . $this->ids->get('category'),
            [
                'includes' => [
                    'product_manufacturer' => ['id', 'name', 'options'],
                    'product' => ['id', 'name', 'manufacturer', 'tax'],
                    
Home | Imprint | This part of the site doesn't use cookies.