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 @@ -50,7 +50,8 @@ public AnnouncementResourceIT() {
supportsPatch = true;
supportsOwners = true;
supportsSearchIndex = false;
supportsVersionHistory = true;
supportsVersionHistory = false;
supportsGetByVersion = false;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ private void assertTagsDoNotContain(List<TagLabel> tags, List<TagLabel> unexpect

@Test
void get_entityVersionHistory_200(TestNamespace ns) {
if (!supportsPatch) return; // Version history tests require patch support
if (!supportsVersionHistory || !supportsPatch) return;

K createRequest = createMinimalRequest(ns);
T created = createEntity(createRequest);
Expand All @@ -1365,7 +1365,7 @@ void get_entityVersionHistory_200(TestNamespace ns) {

@Test
void get_entityVersionHistory_paginated_200(TestNamespace ns) {
if (!supportsPatch) return;
if (!supportsVersionHistory || !supportsPatch) return;

K createRequest = createMinimalRequest(ns);
T created = createEntity(createRequest);
Expand Down Expand Up @@ -1429,7 +1429,7 @@ void get_entityVersionHistory_paginated_200(TestNamespace ns) {

@Test
void get_specificVersion_200(TestNamespace ns) {
if (!supportsPatch) return; // Specific version tests require patch support
if (!supportsVersionHistory || !supportsGetByVersion || !supportsPatch) return;

K createRequest = createMinimalRequest(ns);
T created = createEntity(createRequest);
Expand All @@ -1448,7 +1448,7 @@ void get_specificVersion_200(TestNamespace ns) {

@Test
void get_entityVersionHistory_fieldChanged_200(TestNamespace ns) {
if (!supportsPatch) return;
if (!supportsVersionHistory || !supportsPatch) return;

K createRequest = createMinimalRequest(ns);
T created = createEntity(createRequest);
Expand Down Expand Up @@ -1505,7 +1505,7 @@ void get_entityVersionHistory_fieldChanged_200(TestNamespace ns) {

@Test
void get_entityVersionHistory_fieldChanged_ignoresWrongExtensionPrefix(TestNamespace ns) {
if (!supportsPatch) return;
if (!supportsVersionHistory || !supportsPatch) return;

K createRequest = createMinimalRequest(ns);
T created = createEntity(createRequest);
Expand Down Expand Up @@ -1591,7 +1591,7 @@ void get_entityVersionHistory_paginated_ordersNullVersionNumRowsByVersion(TestNa

@Test
void get_entityVersionHistory_fieldChanged_matchesNullChangedFieldKeysRows(TestNamespace ns) {
if (!supportsPatch) return;
if (!supportsVersionHistory || !supportsPatch) return;

K createRequest = createMinimalRequest(ns);
T created = createEntity(createRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public TaskFormSchemaResourceIT() {
supportsPatch = true;
supportsOwners = false;
supportsSearchIndex = false;
supportsVersionHistory = true;
supportsVersionHistory = false;
supportsGetByVersion = false;
}
Comment on lines +46 to 48

private FormSchema buildFormSchema() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ public TaskResourceIT() {
supportsPatch = true;
supportsOwners = false;
supportsSearchIndex = true;
supportsVersionHistory = false;
supportsGetByVersion = false;
Comment on lines +128 to +129
}

@Override
Expand Down
Loading