Skip to content

Commit a416074

Browse files
committed
Fix AddHeaderOperationTest configuration
1 parent f17ff6c commit a416074

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

phoenixd-test/src/test/java/xyz/tcheeric/phoenixd/operation/impl/AddHeaderOperationTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
package xyz.tcheeric.phoenixd.operation.impl;
22

3+
import org.junit.jupiter.api.BeforeEach;
34
import org.junit.jupiter.api.Test;
45
import xyz.tcheeric.phoenixd.common.rest.Operation;
6+
import xyz.tcheeric.phoenixd.test.TestUtils;
57

68
import static org.assertj.core.api.Assertions.assertThat;
79

810
public class AddHeaderOperationTest {
911

12+
@BeforeEach
13+
void setUpBaseUrl() {
14+
TestUtils.setBaseUrl("http://localhost");
15+
}
16+
1017
// Ensures adding a header preserves the HTTP method for GET operations
1118
@Test
1219
void addHeaderDoesNotChangeMethodForGetOperation() {

0 commit comments

Comments
 (0)