Hi Dan.
I’m not sure how to use the SudoService inside a FixtureScript.
I have the following:
public class DemoWithAllRecordsFixture extends FixtureScript {
public DemoWithAllRecordsFixture() {
this.withDiscoverability(Discoverability.DISCOVERABLE);
}
@Override
Many thanks, Dan.
I'll try it!
El 18/4/2015, a las 12:26, Dan Haywood d...@haywood-associates.co.uk
escribió:
Hi Oscar,
I hit this same issue a couple of weeks ago while refactoring our example
todoapp, which led me to inventing the SudoService.
Not yet documented, but you can see
Hi all.
I have a FixtureScript that invokes some factory methods that include setters
that are invoking by wrapping the domain object (for ensuring that the
validateXXX, modifyXXX, etc. methods are also invoked).
public class TwentyPercentForTwoOrdersCoupon extends FixtureScript {