diff --git a/test/functionality1/gender-stats.sh b/test/functionality1/gender-stats.sh index 6d0d79e..7936f4a 100755 --- a/test/functionality1/gender-stats.sh +++ b/test/functionality1/gender-stats.sh @@ -21,4 +21,4 @@ set -xe response=$(c GET /gender-stats) [[ $(jq -r '.gender_ratio' <<< "$response") = '0.5' ]] -[[ $(jq -r '.non_binary_percentage' <<< "$response") = '25' ]] +[[ $(jq -r '.non_binary_percentage' <<< "$response") = '25.0' ]] diff --git a/test/functionality1/prospect-profile.sh b/test/functionality1/prospect-profile.sh index 6589ae7..b90a127 100755 --- a/test/functionality1/prospect-profile.sh +++ b/test/functionality1/prospect-profile.sh @@ -183,7 +183,7 @@ gives_reply_percentage=$( c GET /prospect-profile/$user2_uuid \ | jq '.gives_reply_percentage') -[[ "$gets_reply_percentage" = '20' ]] +[[ "$gets_reply_percentage" = '20.0' ]] [[ "$gives_reply_percentage" = 'null' ]] @@ -213,4 +213,4 @@ gives_reply_percentage=$( [[ "$gets_reply_percentage" = 'null' ]] -[[ "$gives_reply_percentage" = '20' ]] +[[ "$gives_reply_percentage" = '20.0' ]]