Skip to content

Commit

Permalink
Merge pull request #377 from folio-org/MODFISTO-450-invalid-test-tena…
Browse files Browse the repository at this point in the history
…nt-id

MODFISTO-450: Fix invalid test tenant ids
  • Loading branch information
julianladisch authored Nov 15, 2023
2 parents 4fec18b + 786edbe commit ab1ebf8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/folio/rest/impl/BudgetTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class BudgetTest extends TestBase {

private static final String BUDGET_ENDPOINT = TestEntities.BUDGET.getEndpoint();
private static final String BUDGET_TEST_TENANT = "budget_test_tenant_api";
private static final String BUDGET_TEST_TENANT = "budgettesttenantapi";
private static final Header BUDGET_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, BUDGET_TEST_TENANT);
private static final String ENCUMBR_SAMPLE = "data/transactions/encumbrances/encumbrance_AFRICAHIST_306857_1.json";
private static TenantJob tenantJob;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/folio/rest/impl/GroupFundFYTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

public class GroupFundFYTest extends TestBase {

private static final Header GROUP_FUND_FY_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, "GROUP_FUND_FY");
private static final Header GROUP_FUND_FY_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, "groupfundfy");

@Test
public void testGetQuery() throws Exception {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/folio/rest/impl/GroupTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import static org.folio.rest.utils.TestEntities.LEDGER;

public class GroupTest extends TestBase {
private static final String GROUP_TEST_TENANT = "group_test_tenant";
private static final String GROUP_TEST_TENANT = "grouptesttenant";
private static final Header GROUP_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, GROUP_TEST_TENANT);
private static TenantJob tenantJob;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class TenantSampleDataTest extends TestBase {

private final Logger logger = LogManager.getLogger(TenantSampleDataTest.class);

private static final Header ANOTHER_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, "new_tenant");
private static final Header ANOTHER_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, "newtenant");

private static TenantJob tenantJob;

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/folio/rest/impl/TransactionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class TransactionTest extends TestBase {

protected static final String TRANSACTION_ENDPOINT = ALLOCATION_TRANSACTION.getEndpoint();
protected static final String TRANSACTION_ENDPOINT_BY_ID = ALLOCATION_TRANSACTION.getEndpointWithId();
protected static final String TRANSACTION_TEST_TENANT = "transaction_test_tenant";
protected static final String TRANSACTION_TEST_TENANT = "transactiontesttenant";
protected static final Header TRANSACTION_TENANT_HEADER = new Header(OKAPI_HEADER_TENANT, TRANSACTION_TEST_TENANT);

private static final String FY_FUND_QUERY = "?query=fiscalYearId==%s AND fundId==%s";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class EmailServiceTest {

private Vertx vertx;
private RequestContext mockRequestContext;
private static final String TEST_TENANT = "test_tenant";
private static final String TEST_TENANT = "testtenant";
private static final String OKAPI_TOKEN = "x-okapi-token";
private static final String OKAPI_URL = "x-okapi-url";
private static final String OKAPI_TENANT = "x-okapi-tenant";
Expand Down

0 comments on commit ab1ebf8

Please sign in to comment.