Skip to content

Commit b451964

Browse files
committed
fix: CircleCI test setup failures
- Changes `test-unit` command to ensure `Makefile` is found - Reverts use of `get_new_core_url` in `test-server` - Introduced in #561
1 parent e7fb013 commit b451964

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.circleci/config_continue.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
2828
- run: python3 -m pip install pip setuptools --upgrade
2929
- run: make dev-install
30-
- run: (cd .circleci/ && ./doUnitTests.sh << parameters.cdi-version >>)
30+
- run: .circleci/doUnitTests.sh << parameters.cdi-version >>
3131
- store_test_results:
3232
path: test-results/junit.xml
3333
- slack/status

tests/test-server/app.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
from usermetadata import add_usermetadata_routes
7373

7474
from supertokens import add_supertokens_routes # pylint: disable=import-error
75-
from tests.utils import get_new_core_app_url
7675

7776
app = Flask(__name__)
7877
Middleware(app)
@@ -101,7 +100,7 @@ def origin_func( # pylint: disable=unused-argument, dangerous-default-value
101100
api_domain="http://api.supertokens.io",
102101
origin=origin_func,
103102
),
104-
supertokens_config=SupertokensConfig(connection_uri=get_new_core_app_url()),
103+
supertokens_config=SupertokensConfig(connection_uri="http://localhost:3567"),
105104
framework="flask",
106105
recipe_list=[emailpassword.init(), session.init()],
107106
)

0 commit comments

Comments
 (0)