Fix test to match adjusted responses

This commit is contained in:
Andreas Nedbal 2022-07-06 14:08:51 +02:00 committed by Karina Kwiatek
parent 73ac742332
commit eb16ff83a4
2 changed files with 4 additions and 4 deletions

View File

@ -136,7 +136,7 @@ describe Ajax::ReportController, :ajax_controller, type: :controller do
let(:expected_response) do
{
"success" => false,
"status" => "err",
"status" => "noauth",
"message" => anything
}
end

View File

@ -25,7 +25,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do
let(:expected_response) do
{
"success" => true,
"status" => 418,
"status" => "okay",
"message" => anything
}
end
@ -96,7 +96,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do
let(:expected_response) do
{
"success" => true,
"status" => 418,
"status" => "okay",
"message" => anything
}
end
@ -116,7 +116,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do
let(:expected_response) do
{
"success" => false,
"status" => 418,
"status" => "okay",
"message" => anything
}
end