Skip to content

Commit

Permalink
"BuiltModule" got renamed to "ModuleCrate"
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Nov 26, 2023
1 parent 21211d1 commit 37be088
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
package io.bootique.bom.job;

import io.bootique.command.CommandOutcome;
import io.bootique.job.JobModule;
import io.bootique.job.JobsModule;
import io.bootique.job.SchedulerModule;
import io.bootique.junit5.*;
import org.junit.jupiter.api.Test;

Expand All @@ -35,8 +36,8 @@ public class JobAppIT {

private TestRuntumeBuilder appBuilder(String... args) {
return testFactory.app(args)
.module(new JobModule())
.module(b -> JobModule.extend(b).addJob(BomJob.class).addJob(BomParameterizedJob.class));
.modules(new JobsModule(), new SchedulerModule())
.module(b -> JobsModule.extend(b).addJob(BomJob.class).addJob(BomParameterizedJob.class));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
package io.bootique.bom.job;

import io.bootique.command.CommandOutcome;
import io.bootique.job.JobModule;
import io.bootique.job.JobsModule;
import io.bootique.job.SchedulerModule;
import io.bootique.test.junit.BQTestFactory;
import io.bootique.test.junit.TestIO;
import org.junit.Rule;
Expand All @@ -36,8 +37,8 @@ public class JobAppJunit4IT {

private BQTestFactory.Builder appBuilder(String... args) {
return testFactory.app(args)
.module(new JobModule())
.module(b -> JobModule.extend(b).addJob(BomJob.class).addJob(BomParameterizedJob.class));
.modules(new JobsModule(), new SchedulerModule())
.module(b -> JobsModule.extend(b).addJob(BomJob.class).addJob(BomParameterizedJob.class));
}

@Test
Expand Down

0 comments on commit 37be088

Please sign in to comment.