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

@@ 769-776 (lines=8) @@
766
     *
767
     * @return void
768
     */
769
    public function testGetAppSchemaInformationCanonical()
770
    {
771
        $client = static::createRestClient();
772
        $client->request('GET', '/schema/core/app/item');
773
774
        $this->assertIsSchemaResponse($client->getResponse());
775
        $this->assertIsAppSchema($client->getResults());
776
    }
777
778
    /**
779
     * test getting collection schema