Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tttol committed May 20, 2024
1 parent daac2f7 commit a6f0371
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'io.github.tttol'
version = "1.1.6"
version = "1.1.7"

java {
sourceCompatibility = JavaVersion.VERSION_21
Expand Down
5 changes: 4 additions & 1 deletion src/test/java/io/github/tttol/mrls/MrlsApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(properties = {"GITLAB_PROJECT_ID=dummy",
@SpringBootTest(properties = {
"PROXY_HOST=dummy.com",
"PROXY_PORT=80",
"GITLAB_PROJECT_ID=dummy",
"GITLAB_ACCESS_TOKEN=dummy",
"GITLAB_HOST=dummy"})
class MrlsApplicationTests {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.view;

@SpringBootTest(properties = {"GITLAB_PROJECT_ID=dummy",
@SpringBootTest(properties = {
"PROXY_HOST=dummy.com",
"PROXY_PORT=80",
"GITLAB_PROJECT_ID=dummy",
"GITLAB_ACCESS_TOKEN=dummy"})
public class MrListControllerTest {

Expand Down

0 comments on commit a6f0371

Please sign in to comment.