Ojs\ApiBundle\Tests\Controller\JournalBoardRestControllerTest::testPatchJournalBoardAction PHP Метод

testPatchJournalBoardAction() публичный Метод

    public function testPatchJournalBoardAction()
    {
        $content = ['translations' => ['tr' => ['name' => 'PHPUnit Test Name Field en - PATCH']], 'boardOrder' => '20'];
        $this->client->request('PATCH', '/api/v1/journal/1/boards/1?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content));
        $this->assertStatusCode(204, $this->client);
    }