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:41:16 UTC

(causeway-app-petclinic) 02/03: 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/3.1.0/09-02-adds-visit-fixture
in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git

commit 55c5b78acf30f65a2ddb607f0cb54490ea88a341
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 6964593..32b8c67 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 jakarta.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;