Skip to content

Commit 2af440d

Browse files
committed
update api key: use special key for v2 facets and searchabilities test
1 parent ad7a473 commit 2af440d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ jobs:
3030
env:
3131
TEST_REQUEST_API_KEY: ${{ secrets.TEST_REQUEST_API_KEY }}
3232
TEST_CATALOG_API_KEY: ${{ secrets.TEST_CATALOG_API_KEY }}
33+
TEST_CATALOG_FACETS_V2_API_KEY: ${{ secrets.TEST_CATALOG_FACETS_V2_API_KEY }}
3334
TEST_API_TOKEN: ${{ secrets.TEST_API_TOKEN }}

constructorio-client/src/test/java/io/constructor/client/ConstructorIOFacetConfigurationV2Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class ConstructorIOFacetConfigurationV2Test {
1414

1515
private static String token = System.getenv("TEST_API_TOKEN");
16-
private static String apiKey = System.getenv("TEST_CATALOG_API_KEY");
16+
private static String apiKey = System.getenv("TEST_CATALOG_FACETS_V2_API_KEY");
1717
private static ArrayList<String> facetsToCleanup = new ArrayList<>();
1818

1919
private void addFacetToCleanupArray(String facetName, String section) {

constructorio-client/src/test/java/io/constructor/client/ConstructorIOSearchabilityV2Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class ConstructorIOSearchabilityV2Test {
1414

1515
private static String token = System.getenv("TEST_API_TOKEN");
16-
private static String apiKey = System.getenv("TEST_CATALOG_API_KEY");
16+
private static String apiKey = System.getenv("TEST_CATALOG_FACETS_V2_API_KEY");
1717
private static ArrayList<String> searchabilitiesToCleanup = new ArrayList<>();
1818

1919
private void addSearchabilityToCleanupArray(String name, String section) {

0 commit comments

Comments
 (0)