ACS-3227 Simple rules tests. (#1236) [tas]

* ACS-3227 Initial tests for POST rules API.

* ACS-3227 Add sanity tests for getting created rules.

* Update license header year.
This commit is contained in:
Tom Page
2022-07-22 12:10:01 +01:00
committed by GitHub
parent 3f3698f32a
commit 8f2f8cb04c
4 changed files with 168 additions and 2 deletions

View File

@@ -27,6 +27,8 @@
package org.alfresco.rest.api.model.rules;
import java.io.Serializable;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@@ -104,6 +106,12 @@ public class Rule
this.name = name;
}
// TODO: Added stub for actions as it's a required field. Replace this implementation when we implement support for actions.
public List<Void> getActions()
{
return Collections.emptyList();
}
@Override
public boolean equals(Object o)
{