Skip to content

Commit

Permalink
Functional test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Krystian Panek committed Nov 10, 2020
1 parent 374839b commit dd0426a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class BundlePluginTest : AemBuildTest() {
compileOnly("com.adobe.aem:uber-jar:6.5.0:apis")
testImplementation("org.junit.jupiter:junit-jupiter:5.5.2")
testImplementation("io.wcm:io.wcm.testing.aem-mock.junit5:2.5.2")
// testImplementation("io.wcm:io.wcm.testing.aem-mock.junit5:2.5.2")
}
tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class PackagePluginTest : AemBuildTest() {
compileOnly("org.osgi:osgi.cmpn:6.0.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.5.2")
testImplementation("io.wcm:io.wcm.testing.aem-mock.junit5:2.5.2")
// testImplementation("io.wcm:io.wcm.testing.aem-mock.junit5:2.5.2")
}
tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ open class AemBuildTest {
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import io.wcm.testing.mock.aem.junit5.AemContext;
import io.wcm.testing.mock.aem.junit5.AemContextExtension;
//import io.wcm.testing.mock.aem.junit5.AemContext;
//import io.wcm.testing.mock.aem.junit5.AemContextExtension;
@ExtendWith(AemContextExtension.class)
//@ExtendWith(AemContextExtension.class)
class HelloServiceTest {
private final AemContext context = new AemContext();
//private final AemContext context = new AemContext();
@Test
void shouldUseService() {
context.registerInjectActivateService(new HelloService());
assertNotNull(context.getService(HelloService.class));
//context.registerInjectActivateService(new HelloService());
//assertNotNull(context.getService(HelloService.class));
}
}
""")
Expand Down

0 comments on commit dd0426a

Please sign in to comment.