Skip to content

Commit c771ba7

Browse files
committed
Fix failing test due to wrong assertion
1 parent 74cdcdf commit c771ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/DependencyInjection/SentryExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function testClientIsCreatedFromOptions(): void
239239

240240
$methodCalls = $factory[0]->getMethodCalls();
241241

242-
$this->assertCount(4, $methodCalls);
242+
$this->assertCount(6, $methodCalls);
243243
$this->assertDefinitionMethodCallAt($methodCalls[0], 'setSdkIdentifier', [SentryBundle::SDK_IDENTIFIER]);
244244
$this->assertDefinitionMethodCallAt($methodCalls[1], 'setSdkVersion', [PrettyVersions::getVersion('sentry/sentry-symfony')->getPrettyVersion()]);
245245
$this->assertDefinitionMethodCallAt($methodCalls[2], 'setTransportFactory', [new Reference('App\\Sentry\\Transport\\TransportFactory')]);

0 commit comments

Comments
 (0)