Skip to content

Commit

Permalink
Fix @WithTestResource use
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Sep 4, 2024
1 parent f1ca53d commit 1f81d56
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package org.acme.optaplanner;

import io.quarkus.test.common.TestResourceScope;
import io.quarkus.test.common.WithTestResource;
import io.quarkus.test.h2.H2DatabaseTestResource;

@WithTestResource(value = H2DatabaseTestResource.class, restrictToAnnotatedClass = false)
@WithTestResource(value = H2DatabaseTestResource.class, scope = TestResourceScope.GLOBAL)
public class TestResources {

}

0 comments on commit 1f81d56

Please sign in to comment.