Zendesk\API\UnitTests\HelpCenter\ArticlesTest::testUpdateArticleSourceLocaleNoId PHP Method

testUpdateArticleSourceLocaleNoId() public method

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']]);
    }