diff --git a/tests/test_api_v1_accounts.cpp b/tests/test_api_v1_accounts.cpp index e154206..ee3fc33 100644 --- a/tests/test_api_v1_accounts.cpp +++ b/tests/test_api_v1_accounts.cpp @@ -34,7 +34,7 @@ SCENARIO ("/api/v1/accounts can be called successfully", Easy::Token token; bool exception = false; - WHEN ("/api/v1/accounts is called") + WHEN ("POST /api/v1/accounts is called") { try { diff --git a/tests/test_api_v1_accounts_id.cpp b/tests/test_api_v1_accounts_id.cpp index dd58a7e..99c98f0 100644 --- a/tests/test_api_v1_accounts_id.cpp +++ b/tests/test_api_v1_accounts_id.cpp @@ -34,7 +34,7 @@ SCENARIO ("/api/v1/accounts/:id can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + " is called") + WHEN ("GET /api/v1/accounts/" + user_id + " is called") { try { diff --git a/tests/test_api_v1_accounts_id_block.cpp b/tests/test_api_v1_accounts_id_block.cpp index c3a5a49..f7944a1 100644 --- a/tests/test_api_v1_accounts_id_block.cpp +++ b/tests/test_api_v1_accounts_id_block.cpp @@ -35,7 +35,7 @@ SCENARIO ("/api/v1/accounts/:id/block can be called successfully", Easy::Relationship relationship; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/block is called") + WHEN ("POST /api/v1/accounts/" + user_id + "/block is called") { try { diff --git a/tests/test_api_v1_accounts_id_follow.cpp b/tests/test_api_v1_accounts_id_follow.cpp index 51cbb21..46a8169 100644 --- a/tests/test_api_v1_accounts_id_follow.cpp +++ b/tests/test_api_v1_accounts_id_follow.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/:id/follow can be called successfully", Easy::Relationship relationship; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/follow is called") + WHEN ("POST /api/v1/accounts/" + user_id + "/follow is called") { try { diff --git a/tests/test_api_v1_accounts_id_followers.cpp b/tests/test_api_v1_accounts_id_followers.cpp index 48877ec..dc74db0 100644 --- a/tests/test_api_v1_accounts_id_followers.cpp +++ b/tests/test_api_v1_accounts_id_followers.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/:id/followers can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/followers is called") + WHEN ("GET /api/v1/accounts/" + user_id + "/followers is called") { try { diff --git a/tests/test_api_v1_accounts_id_following.cpp b/tests/test_api_v1_accounts_id_following.cpp index 97345e3..42d0e31 100644 --- a/tests/test_api_v1_accounts_id_following.cpp +++ b/tests/test_api_v1_accounts_id_following.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/:id/following can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/following is called") + WHEN ("GET /api/v1/accounts/" + user_id + "/following is called") { try { diff --git a/tests/test_api_v1_accounts_id_statuses.cpp b/tests/test_api_v1_accounts_id_statuses.cpp index 62e656d..d83160b 100644 --- a/tests/test_api_v1_accounts_id_statuses.cpp +++ b/tests/test_api_v1_accounts_id_statuses.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/:id/statuses can be called successfully", Easy::Status status; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/statuses is called") + WHEN ("GET /api/v1/accounts/" + user_id + "/statuses is called") { try { diff --git a/tests/test_api_v1_accounts_id_unblock.cpp b/tests/test_api_v1_accounts_id_unblock.cpp index b843231..381971b 100644 --- a/tests/test_api_v1_accounts_id_unblock.cpp +++ b/tests/test_api_v1_accounts_id_unblock.cpp @@ -35,7 +35,7 @@ SCENARIO ("/api/v1/accounts/:id/unblock can be called successfully", Easy::Relationship relationship; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/unblock is called") + WHEN ("POST /api/v1/accounts/" + user_id + "/unblock is called") { try { diff --git a/tests/test_api_v1_accounts_id_unfollow.cpp b/tests/test_api_v1_accounts_id_unfollow.cpp index 983ec5d..470b8eb 100644 --- a/tests/test_api_v1_accounts_id_unfollow.cpp +++ b/tests/test_api_v1_accounts_id_unfollow.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/:id/unfollow can be called successfully", Easy::Relationship relationship; bool exception = false; - WHEN ("/api/v1/accounts/" + user_id + "/unfollow is called") + WHEN ("POST /api/v1/accounts/" + user_id + "/unfollow is called") { try { diff --git a/tests/test_api_v1_accounts_relationships.cpp b/tests/test_api_v1_accounts_relationships.cpp index f39c670..7b48c56 100644 --- a/tests/test_api_v1_accounts_relationships.cpp +++ b/tests/test_api_v1_accounts_relationships.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/relationships can be called successfully", Easy::Relationship relationship; bool exception = false; - WHEN ("/api/v1/accounts/relationships is called") + WHEN ("GET /api/v1/accounts/relationships is called") { try { diff --git a/tests/test_api_v1_accounts_search.cpp b/tests/test_api_v1_accounts_search.cpp index e4b532a..40d0ec7 100644 --- a/tests/test_api_v1_accounts_search.cpp +++ b/tests/test_api_v1_accounts_search.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/search can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/accounts/search is called") + WHEN ("GET /api/v1/accounts/search is called") { try { diff --git a/tests/test_api_v1_accounts_update_credentials.cpp b/tests/test_api_v1_accounts_update_credentials.cpp index 93aea8f..f0f400f 100644 --- a/tests/test_api_v1_accounts_update_credentials.cpp +++ b/tests/test_api_v1_accounts_update_credentials.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/update_credentials can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/accounts/update_credentials is called") + WHEN ("PATCH /api/v1/accounts/update_credentials is called") { try { diff --git a/tests/test_api_v1_accounts_verify_credentials.cpp b/tests/test_api_v1_accounts_verify_credentials.cpp index aea2b90..f721233 100644 --- a/tests/test_api_v1_accounts_verify_credentials.cpp +++ b/tests/test_api_v1_accounts_verify_credentials.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/accounts/verify_credentials can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/accounts/verify_credentials is called") + WHEN ("GET /api/v1/accounts/verify_credentials is called") { try { diff --git a/tests/test_api_v1_apps.cpp b/tests/test_api_v1_apps.cpp index 95e0604..a275721 100644 --- a/tests/test_api_v1_apps.cpp +++ b/tests/test_api_v1_apps.cpp @@ -34,7 +34,7 @@ SCENARIO ("/api/v1/apps can be called successfully", Easy::Application app; bool exception = false; - WHEN ("/api/v1/apps is called") + WHEN ("POST /api/v1/apps is called") { try { diff --git a/tests/test_api_v1_apps_verify_credentials.cpp b/tests/test_api_v1_apps_verify_credentials.cpp index 2e60286..773c92f 100644 --- a/tests/test_api_v1_apps_verify_credentials.cpp +++ b/tests/test_api_v1_apps_verify_credentials.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/apps/verify_credentials can be called successfully", Easy::Application app; bool exception = false; - WHEN ("/api/v1/apps/verify_credentials is called") + WHEN ("GET /api/v1/apps/verify_credentials is called") { try { diff --git a/tests/test_api_v1_blocks.cpp b/tests/test_api_v1_blocks.cpp index f37ea96..695a0dd 100644 --- a/tests/test_api_v1_blocks.cpp +++ b/tests/test_api_v1_blocks.cpp @@ -36,7 +36,7 @@ SCENARIO ("/api/v1/blocks can be called successfully", Easy::Account account; bool exception = false; - WHEN ("/api/v1/blocks is called") + WHEN ("GET /api/v1/blocks is called") { try { diff --git a/tests/test_api_v1_custom_emojis.cpp b/tests/test_api_v1_custom_emojis.cpp index 80d7ddd..f723c63 100644 --- a/tests/test_api_v1_custom_emojis.cpp +++ b/tests/test_api_v1_custom_emojis.cpp @@ -34,7 +34,7 @@ SCENARIO ("/api/v1/custom_emojis can be called successfully", Easy::Emoji emoji; bool exception = false; - WHEN ("/api/v1/custom_emojis is called") + WHEN ("GET /api/v1/custom_emojis is called") { try { diff --git a/tests/test_api_v1_instance.cpp b/tests/test_api_v1_instance.cpp index 24c80f7..2b930be 100644 --- a/tests/test_api_v1_instance.cpp +++ b/tests/test_api_v1_instance.cpp @@ -34,7 +34,7 @@ SCENARIO ("/api/v1/instance can be called successfully", Easy::Instance instance_; bool exception = false; - WHEN ("/api/v1/instance is called") + WHEN ("GET /api/v1/instance is called") { try {