You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/07/04 09:38:15 UTC
(causeway-app-petclinic) 02/02: updates DomainAppDemo to create visits as well as pet owners/pets
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to tag tags/2.1.0/09-02-adds-visit-fixture
in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git
commit 715d19eee4411bfcef091f2dfb2cdc45765aaa96
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Jun 3 14:17:43 2024 +0100
updates DomainAppDemo to create visits as well as pet owners/pets
---
.../domainapp/webapp/application/fixture/scenarios/DomainAppDemo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/webapp/src/main/java/domainapp/webapp/application/fixture/scenarios/DomainAppDemo.java b/webapp/src/main/java/domainapp/webapp/application/fixture/scenarios/DomainAppDemo.java
index 30b7046..2af323f 100644
--- a/webapp/src/main/java/domainapp/webapp/application/fixture/scenarios/DomainAppDemo.java
+++ b/webapp/src/main/java/domainapp/webapp/application/fixture/scenarios/DomainAppDemo.java
@@ -5,14 +5,14 @@ import javax.inject.Inject;
import org.apache.causeway.testing.fixtures.applib.fixturescripts.FixtureScript;
import org.apache.causeway.testing.fixtures.applib.modules.ModuleWithFixturesService;
-import domainapp.modules.petowner.fixture.PetOwner_persona;
+import domainapp.modules.visit.fixture.Visit_persona;
public class DomainAppDemo extends FixtureScript {
@Override
protected void execute(final ExecutionContext ec) {
ec.executeChildren(this, moduleWithFixturesService.getTeardownFixture());
- ec.executeChild(this, new PetOwner_persona.PersistAll());
+ ec.executeChild(this, new Visit_persona.PersistAll());
}
@Inject ModuleWithFixturesService moduleWithFixturesService;