Zendesk\API\UnitTests\HelpCenter\ArticlesTest::testUpdateArticleSourceLocaleNoId PHP 메소드

testUpdateArticleSourceLocaleNoId() 공개 메소드

Tests if the Update article source locale endpoint can be called and passed the correct params
    public function testUpdateArticleSourceLocaleNoId()
    {
        $this->assertEndpointCalled(function () {
            $this->client->helpCenter->articles(1)->updateSourceLocale(null, 'fr');
        }, 'help_center/articles/1/source_locale.json', 'PUT', ['postFields' => ['article_locale' => 'fr']]);
    }