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/05/22 08:59:15 UTC
(causeway-app-petclinic) 11/12: Updates DomainAppDemo fixture script to create pet owners rather than
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git
commit c2850167ae1499a182d7609d2d5bc165e5456c8d
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed May 22 09:55:07 2024 +0100
Updates DomainAppDemo fixture script to create pet owners rather than
... simple objects.
---
.../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 28b603f..30b7046 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.simple.fixture.SimpleObject_persona;
+import domainapp.modules.petowner.fixture.PetOwner_persona;
public class DomainAppDemo extends FixtureScript {
@Override
protected void execute(final ExecutionContext ec) {
ec.executeChildren(this, moduleWithFixturesService.getTeardownFixture());
- ec.executeChild(this, new SimpleObject_persona.PersistAll());
+ ec.executeChild(this, new PetOwner_persona.PersistAll());
}
@Inject ModuleWithFixturesService moduleWithFixturesService;