diff --git a/test/real-world/real-world-test.sh b/test/real-world/real-world-test.sh index e9f4f7f..f35491c 100755 --- a/test/real-world/real-world-test.sh +++ b/test/real-world/real-world-test.sh @@ -71,9 +71,11 @@ fi echo "URLS working!" -# /api/v1/calendars?p=iutdevannes.butdutinfo.1ereannee.gr1a.gr1a1 +#DEFAULT_PLANNING_FULL_ID="iutdevannes.butdutinfo.1ereannee.gr1a.gr1a1" +DEFAULT_PLANNING_FULL_ID="insa-rennes.ma.s5-ma" + function get_calendar() { - curl -s -X GET ${BASE_URL}/calendars?p=iutdevannes.butdutinfo.1ereannee.gr1a.gr1a1 + curl -s -X GET ${BASE_URL}/calendars?p="$DEFAULT_PLANNING_FULL_ID" } i=0 @@ -91,9 +93,8 @@ fi echo "CALENDAR working!" -# /calendars/info?p=iutdevannes.butdutinfo.1ereannee.gr1a.gr1a1 function get_calendar_info() { - curl -s -X GET ${BASE_URL}/calendars/info?p=iutdevannes.butdutinfo.1ereannee.gr1a.gr1a1 + curl -s -X GET ${BASE_URL}/calendars/info?p="$DEFAULT_PLANNING_FULL_ID" } i=0