Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Api controller tests work on port 8001
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinvandeven committed Jun 19, 2021
1 parent f5bc652 commit 37e3230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/controllers/test_20_api_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from populate_os_tables import populate_school_classcards


base_url = 'http://dev.openstudioproject.com:8000'
base_url = 'http://dev.openstudioproject.com:8001'

def populate_schedule(web2py):
"""
Expand Down Expand Up @@ -265,7 +265,7 @@ def test_schedule_get_json(client, web2py):

assert json['data']['classes']['Monday']['classes'][0]['BookingStatus'] == 'finished'
assert json['data']['classes']['Monday']['classes'][0]['LinkShop'] == \
'http://dev.openstudioproject.com:8000/shop/classes_book_options?clsID=1&date=2014-01-06'
'http://dev.openstudioproject.com:8001/shop/classes_book_options?clsID=1&date=2014-01-06'

# check classes_subteachers
url = base_url + \
Expand Down

0 comments on commit 37e3230

Please sign in to comment.