ISIS-1556: fixes DomainAppFixtureScriptsSpecificationProvider... use DomainAppDemo fixture script rather than RecreateSimpleObjects fixture script
Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/8b106237 Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/8b106237 Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/8b106237 Branch: refs/heads/maint-1.13.3 Commit: 8b106237eea87274078421773974f46f0fe41d7c Parents: ae74bc9 Author: Dan Haywood <d...@haywood-associates.co.uk> Authored: Wed Dec 21 11:58:31 2016 +0000 Committer: Dan Haywood <d...@haywood-associates.co.uk> Committed: Wed Dec 21 11:58:31 2016 +0000 ---------------------------------------------------------------------- .../fixture/DomainAppFixtureScriptsSpecificationProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/8b106237/example/application/simpleapp/application/src/main/java/domainapp/application/fixture/DomainAppFixtureScriptsSpecificationProvider.java ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/application/src/main/java/domainapp/application/fixture/DomainAppFixtureScriptsSpecificationProvider.java b/example/application/simpleapp/application/src/main/java/domainapp/application/fixture/DomainAppFixtureScriptsSpecificationProvider.java index aa48811..703c42f 100644 --- a/example/application/simpleapp/application/src/main/java/domainapp/application/fixture/DomainAppFixtureScriptsSpecificationProvider.java +++ b/example/application/simpleapp/application/src/main/java/domainapp/application/fixture/DomainAppFixtureScriptsSpecificationProvider.java @@ -24,7 +24,7 @@ import org.apache.isis.applib.fixturescripts.FixtureScripts; import org.apache.isis.applib.services.fixturespec.FixtureScriptsSpecification; import org.apache.isis.applib.services.fixturespec.FixtureScriptsSpecificationProvider; -import domainapp.modules.simple.fixture.scenario.RecreateSimpleObjects; +import domainapp.application.fixture.scenarios.DomainAppDemo; /** * Specifies where to find fixtures, and other settings. @@ -36,9 +36,9 @@ public class DomainAppFixtureScriptsSpecificationProvider implements FixtureScri return FixtureScriptsSpecification .builder(DomainAppFixtureScriptsSpecificationProvider.class) .with(FixtureScripts.MultipleExecutionStrategy.EXECUTE) - .withRunScriptDefault(RecreateSimpleObjects.class) + .withRunScriptDefault(DomainAppDemo.class) .withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES) - .withRecreate(RecreateSimpleObjects.class) + .withRecreate(DomainAppDemo.class) .build(); } }