Skip to content

Commit

Permalink
SDCSRM-577 Bump common entities version (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamHawtin authored Jul 5, 2024
1 parent d305764 commit d217d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<dependency>
<groupId>uk.gov.ons.ssdc</groupId>
<artifactId>ssdc-rm-common-entity-model</artifactId>
<version>4.22.0</version>
<version>4.22.1</version>
</dependency>
<dependency>
<groupId>uk.gov.ons.ssdc</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.springframework.web.client.HttpClientErrorException;
import org.springframework.web.client.RestTemplate;
import uk.gov.ons.ssdc.common.model.entity.ActionRule;
import uk.gov.ons.ssdc.common.model.entity.ActionRuleStatus;
import uk.gov.ons.ssdc.common.model.entity.ActionRuleType;
import uk.gov.ons.ssdc.common.model.entity.Case;
import uk.gov.ons.ssdc.common.model.entity.CollectionExercise;
Expand Down Expand Up @@ -290,13 +291,12 @@ private BundleOfUsefulTestStuff getTestBundle() {
actionRule.setId(UUID.randomUUID());
actionRule.setCollectionExercise(collectionExercise);
actionRule.setType(ActionRuleType.EMAIL);

actionRule.setClassifiers("sample ->> 'ORG_SIZE' = 'HUGE'");

actionRule.setTriggerDateTime(OffsetDateTime.now());
actionRule.setCreatedBy("TEST_USER");
actionRule.setEmailTemplate(emailTemplate);
actionRule.setEmailColumn("emailAddress");
actionRule.setActionRuleStatus(ActionRuleStatus.SCHEDULED);

actionRuleRepository.saveAndFlush(actionRule);

Expand Down

0 comments on commit d217d4e

Please sign in to comment.