Skip to content

Commit

Permalink
- Glossary API test update
Browse files Browse the repository at this point in the history
  • Loading branch information
bhdnb committed Jan 15, 2025
1 parent cb0ae8f commit ee42f09
Showing 1 changed file with 30 additions and 22 deletions.
52 changes: 30 additions & 22 deletions tests/CrowdinApiClient/Api/GlossaryApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function testConcordance(): void
'Welcome!',
'Save as...',
'View',
'About...'
'About...',
],
];

Expand Down Expand Up @@ -543,12 +543,14 @@ public function testListConcepts(): void
'url' => 'URL',
'figure' => 'Figure',
'languagesDetails' => [
'languageId' => 'en',
'userId' => 12,
'definition' => 'Language definition',
'note' => 'Language note',
'createdAt' => '2019-09-19T14:14:00+00:00',
'updatedAt' => '2019-09-19T14:14:00+00:00',
[
'languageId' => 'en',
'userId' => 12,
'definition' => 'Language definition',
'note' => 'Language note',
'createdAt' => '2019-09-19T14:14:00+00:00',
'updatedAt' => '2019-09-19T14:14:00+00:00',
],
],
'createdAt' => '2019-09-16T13:42:04+00:00',
'updatedAt' => '2019-09-16T13:42:04+00:00',
Expand Down Expand Up @@ -589,12 +591,14 @@ public function testGetConcept(): void
'url' => 'URL',
'figure' => 'Figure',
'languagesDetails' => [
'languageId' => 'en',
'userId' => 12,
'definition' => 'Language definition',
'note' => 'Language note',
'createdAt' => '2019-09-19T14:14:00+00:00',
'updatedAt' => '2019-09-19T14:14:00+00:00',
[
'languageId' => 'en',
'userId' => 12,
'definition' => 'Language definition',
'note' => 'Language note',
'createdAt' => '2019-09-19T14:14:00+00:00',
'updatedAt' => '2019-09-19T14:14:00+00:00',
],
],
'createdAt' => '2019-09-16T13:42:04+00:00',
'updatedAt' => '2019-09-16T13:42:04+00:00',
Expand All @@ -620,9 +624,11 @@ public function testUpdateConcept(): void
'url' => 'URL',
'figure' => 'Figure',
'languagesDetails' => [
'languageId' => 'en',
'definition' => 'Language definition',
'note' => 'Language note',
[
'languageId' => 'en',
'definition' => 'Language definition',
'note' => 'Language note',
],
],
];

Expand All @@ -640,12 +646,14 @@ public function testUpdateConcept(): void
'url' => 'URL',
'figure' => 'Figure',
'languagesDetails' => [
'languageId' => 'en',
'userId' => 12,
'definition' => 'Language definition',
'note' => 'Language note',
'createdAt' => '2019-09-19T14:14:00+00:00',
'updatedAt' => '2019-09-19T14:14:00+00:00',
[
'languageId' => 'en',
'userId' => 12,
'definition' => 'Language definition',
'note' => 'Language note',
'createdAt' => '2019-09-19T14:14:00+00:00',
'updatedAt' => '2019-09-19T14:14:00+00:00',
],
],
'createdAt' => '2019-09-16T13:42:04+00:00',
'updatedAt' => '2019-09-16T13:42:04+00:00',
Expand Down

0 comments on commit ee42f09

Please sign in to comment.