Mention the HTTP method in tests.
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
02d538333e
commit
2e99a0c155
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Reference in New Issue