Fix parameterized testWhoAmI

This commit is contained in:
Chris Eager 2021-03-24 18:18:12 -05:00 committed by Chris Eager
parent 13053da97f
commit deece33a0d
1 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.CsvSource;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
import org.junit.jupiter.params.provider.ValueSource; import org.junit.jupiter.params.provider.ValueSource;
import org.mockito.ArgumentCaptor; import org.mockito.ArgumentCaptor;
@ -1361,7 +1360,7 @@ class AccountControllerTest {
} }
@ParameterizedTest @ParameterizedTest
@CsvSource("/v1/accounts/whoami/, /v1/accounts/me/") @ValueSource(strings = {"/v1/accounts/whoami/", "/v1/accounts/me/"})
public void testWhoAmI(final String path) { public void testWhoAmI(final String path) {
AccountCreationResult response = AccountCreationResult response =
resources.getJerseyTest() resources.getJerseyTest()