Skip to content

Commit

Permalink
Remove spurious authorizer test
Browse files Browse the repository at this point in the history
This was a technical spike test that we accidentally left around, now
that there are behavioral tests in place.
  • Loading branch information
botimer committed Nov 3, 2023
1 parent 9f46c05 commit 4f830b2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apache/client/test/lauth/authorizer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ using ::testing::_;
using mlibrary::lauth::ApiClient;
using mlibrary::lauth::Authorizer;

TEST(AuthorizerTest, inject_api_client) {
auto client = std::make_unique<ApiClient>();
Authorizer authorizer(std::move(client));
}

TEST(AuthorizerTest, AllowsAccessWhenApiSaysAuthorized) {
auto client = std::make_unique<MockApiClient>();
EXPECT_CALL(*client, isAllowed(_)).WillOnce(Return(true));
Expand Down

0 comments on commit 4f830b2

Please sign in to comment.