Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Jan 5, 2025
1 parent 49c663b commit 1188648
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/functionality1/gender-stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]]
4 changes: 2 additions & 2 deletions test/functionality1/prospect-profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]]

Expand Down Expand Up @@ -213,4 +213,4 @@ gives_reply_percentage=$(

[[ "$gets_reply_percentage" = 'null' ]]

[[ "$gives_reply_percentage" = '20' ]]
[[ "$gives_reply_percentage" = '20.0' ]]

0 comments on commit 1188648

Please sign in to comment.