Skip to content

Commit

Permalink
Checking for exact exception type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaa committed Aug 7, 2022
1 parent 4dc9c78 commit b9c2aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/CRUD_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ STARTCASE(TestCRUD) {
EXPECT_THROWS_AS(
RequestBuilder(ctx)
.Get(GetDockerUrl(http_url) + "/" + to_string(post.id)) // URL
.Execute(), RequestFailedWithErrorException);
.Execute(), HttpNotFoundException);



Expand Down

0 comments on commit b9c2aef

Please sign in to comment.