Skip to content

Commit

Permalink
test-TestTreeAbility-use docker pg
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Sep 11, 2024
1 parent 0ad771b commit 0292467
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.ximatai.muyun.core;

import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.common.mapper.TypeRef;
import jakarta.inject.Inject;
Expand All @@ -11,6 +12,7 @@
import net.ximatai.muyun.database.builder.Column;
import net.ximatai.muyun.database.builder.TableWrapper;
import net.ximatai.muyun.model.TreeNode;
import net.ximatai.muyun.testcontainers.PostgresTestResource;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

Expand All @@ -21,7 +23,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;

@QuarkusTest
//@QuarkusTestResource(value = PostgresTestResource.class, restrictToAnnotatedClass = true)
@QuarkusTestResource(value = PostgresTestResource.class, restrictToAnnotatedClass = true)
class TestTreeAbility {

private String path = "/TestTreeAbility";
Expand Down

0 comments on commit 0292467

Please sign in to comment.