Fix failing test in AutomatedLatestContentTest

[MAILPOET-4251]
This commit is contained in:
Sam Najian
2022-05-05 11:20:29 +02:00
committed by Veljko V
parent 393154e080
commit db4ef57b2e

View File

@ -36,7 +36,8 @@ class AutomatedLatestContentTest extends \MailPoetTest {
} }
public function testItGetTerms() { public function testItGetTerms() {
$response = $this->endpoint->getTerms();
$response = $this->endpoint->getTerms(['taxonomies' => ['category']]);
$this->assertInstanceOf(SuccessResponse::class, $response); $this->assertInstanceOf(SuccessResponse::class, $response);
$this->assertCount(1, $response->data); $this->assertCount(1, $response->data);