From b9c2aef049dbdb3de86db68ed15bd797bd8269fc Mon Sep 17 00:00:00 2001 From: Jarle Aase Date: Sun, 7 Aug 2022 19:26:21 +0300 Subject: [PATCH] Checking for exact exception type in test --- tests/functional/CRUD_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/CRUD_test.cpp b/tests/functional/CRUD_test.cpp index 493c0ce..e85544b 100644 --- a/tests/functional/CRUD_test.cpp +++ b/tests/functional/CRUD_test.cpp @@ -82,7 +82,7 @@ STARTCASE(TestCRUD) { EXPECT_THROWS_AS( RequestBuilder(ctx) .Get(GetDockerUrl(http_url) + "/" + to_string(post.id)) // URL - .Execute(), RequestFailedWithErrorException); + .Execute(), HttpNotFoundException);