Code Duplication    Length = 8-8 lines in 2 locations

src/Graviton/CoreBundle/Tests/Controller/ProductControllerTest.php 1 location

@@ 133-140 (lines=8) @@
130
     *
131
     * @return void
132
     */
133
    public function testGetProductSchemaInformationCanonical()
134
    {
135
        $client = static::createRestClient();
136
        $client->request('GET', '/schema/core/product/item');
137
138
        $this->assertIsSchemaResponse($client->getResponse());
139
        $this->assertIsProductSchema($client->getResults());
140
    }
141
142
    /**
143
     * check if response looks like schema

src/Graviton/CoreBundle/Tests/Controller/AppControllerTest.php 1 location

@@ 733-740 (lines=8) @@
730
     *
731
     * @return void
732
     */
733
    public function testGetAppSchemaInformationCanonical()
734
    {
735
        $client = static::createRestClient();
736
        $client->request('GET', '/schema/core/app/item');
737
738
        $this->assertIsSchemaResponse($client->getResponse());
739
        $this->assertIsAppSchema($client->getResults());
740
    }
741
742
    /**
743
     * test getting collection schema