Skip to content

Commit c615e98

Browse files
committed
feat: remove duplicate assertion
1 parent 3ce00d5 commit c615e98

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/test/java/dev/openfga/sdk/api/configuration/TelemetryConfigurationTest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,6 @@ void testDefaultMetrics() {
135135
"The default attribute map should not contain the FGA_CLIENT_REQUEST_BATCH_CHECK_SIZE attribute.");
136136
}
137137

138-
@Test
139-
void testRequestCountIsDisabledByDefault() {
140-
// Arrange
141-
TelemetryConfiguration telemetryConfiguration = new TelemetryConfiguration();
142-
143-
// Act
144-
Map<Metric, Map<Attribute, Optional<Object>>> metrics = telemetryConfiguration.metrics();
145-
146-
// Assert
147-
assertFalse(metrics.containsKey(Counters.REQUEST_COUNT), "REQUEST_COUNT should not be enabled by default.");
148-
}
149-
150138
@Test
151139
void testRequestCountCanBeExplicitlyEnabled() {
152140
// Arrange

0 commit comments

Comments
 (0)