Skip to content

Commit

Permalink
chore: temporarily change default planning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kernoeb committed Oct 29, 2024
1 parent fc022fe commit 264c5c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/real-world/real-world-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 264c5c7

Please sign in to comment.