Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public class GlossaryEntryBaseResponsePTO implements ResponseData {
* Archived flag.
*/
private boolean archived;

/**
* Optional Suggestion status of the entry. SUGGESTED or APPROVED.
*/
private String suggestionStatus;
/**
* Uid of the creator.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public class EntryManagementApiTest {
+ " ],\n"
+ " \"customFieldValues\": [],\n"
+ " \"archived\": false,\n"
+ " \"suggestionStatus\": \"SUGGESTED\",\n"
+ " \"createdByUserUid\": \"671b520051b2\",\n"
+ " \"modifiedByUserUid\": \"671b520051b2\",\n"
+ " \"createdDate\": \"2023-03-30T10:38:09Z\",\n"
Expand Down Expand Up @@ -127,6 +128,7 @@ public void testReadGlossaryEntry() throws Exception {
assertEquals("bad90990-4be1-4570-81da-b719cddd5352", glossaryResponsePTO.getGlossaryUid());
assertEquals("37915662-1f42-4a51-afe4-a9eaf32dfa37", glossaryResponsePTO.getEntryUid());
assertEquals("no EN present in DB", glossaryResponsePTO.getDefinition());
assertEquals("SUGGESTED", glossaryResponsePTO.getSuggestionStatus());
assertNotNull(glossaryResponsePTO.getTranslations());
assertNotNull(glossaryResponsePTO.getLabelUids());
assertNotNull(glossaryResponsePTO.getCustomFieldValues());
Expand Down