Skip to content

Commit

Permalink
Merge "REST: Fix test property labels"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Sep 20, 2023
2 parents f39d91b + 85546b0 commit 90d0870
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ public function testGetPropertyLabels(): void {
->method( 'getLabels' )
->with( $propertyId, self::ALL_TERM_LANGUAGES )
->willReturn( [
'en' => 'potato',
'de' => 'Kartoffel',
'ko' => '감자',
'en' => 'weight',
'de' => 'Gewicht',
'ko' => '무게',
] );

$this->assertEquals(
( $this->newTermRetriever( $termLookup ) )->getLabels( $propertyId ),
new Labels(
new Label( 'en', 'potato' ),
new Label( 'de', 'Kartoffel' ),
new Label( 'ko', '감자' ),
new Label( 'en', 'weight' ),
new Label( 'de', 'Gewicht' ),
new Label( 'ko', '무게' ),
)
);
}
Expand Down

0 comments on commit 90d0870

Please sign in to comment.