Mention the HTTP method in tests.
the build was successful Details

This commit is contained in:
tastytea 2019-04-16 21:38:08 +02:00
parent 02d538333e
commit 2e99a0c155
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
18 changed files with 18 additions and 18 deletions

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{