From fde5d739e3600c9ee591aa2e61566dedd5b34da4 Mon Sep 17 00:00:00 2001 From: bbrodriges Date: Sun, 22 Oct 2023 19:44:14 +0300 Subject: [PATCH] Update iteration14_test.go --- cmd/shortenertestbeta/iteration14_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/shortenertestbeta/iteration14_test.go b/cmd/shortenertestbeta/iteration14_test.go index 4d96300..c9255d0 100644 --- a/cmd/shortenertestbeta/iteration14_test.go +++ b/cmd/shortenertestbeta/iteration14_test.go @@ -201,7 +201,7 @@ func (suite *Iteration14Suite) TestAuth() { suite.Require().NoErrorf(err, "Ошибка при попытке сделать запрос для получения списка сокращенных URL:\n\n %s", dump) } - suite.Assert().Equalf(http.StatusNoContent, resp.StatusCode(), + suite.Assert().Equalf(http.StatusUnauthorized, resp.StatusCode(), "Несоответствие статус кода ответа ожидаемому в хендлере '%s %s'", req.Method, req.URL, ) })