Skip to content

Commit 272aee6

Browse files
committed
refactor(libstore-tests/s3-url): remove useless fixture
1 parent fd942cb commit 272aee6

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

src/libstore-tests/s3-url.cc

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -232,23 +232,10 @@ INSTANTIATE_TEST_SUITE_P(
232232
// ParsedS3URL Functionality Tests
233233
// =============================================================================
234234

235-
class ParsedS3URLFunctionalityTest : public ::testing::Test
236-
{
237-
protected:
238-
void SetUp() override
239-
{
240-
// Set up clean test environment
241-
unsetenv("AWS_ACCESS_KEY_ID");
242-
unsetenv("AWS_SECRET_ACCESS_KEY");
243-
unsetenv("AWS_SESSION_TOKEN");
244-
unsetenv("AWS_PROFILE");
245-
}
246-
};
247-
248235
/**
249236
* Test that region defaults are handled correctly
250237
*/
251-
TEST_F(ParsedS3URLFunctionalityTest, regionDefaultHandling)
238+
TEST(ParsedS3URLFunctionalityTest, regionDefaultHandling)
252239
{
253240
// Test with explicit region
254241
auto s3WithRegion = ParsedS3URL{
@@ -271,7 +258,7 @@ TEST_F(ParsedS3URLFunctionalityTest, regionDefaultHandling)
271258
/**
272259
* Test custom endpoint handling (e.g., for MinIO or LocalStack)
273260
*/
274-
TEST_F(ParsedS3URLFunctionalityTest, customEndpointHandling)
261+
TEST(ParsedS3URLFunctionalityTest, customEndpointHandling)
275262
{
276263
auto s3WithEndpoint = ParsedS3URL{
277264
.bucket = "bucket",

0 commit comments

Comments
 (0)