Skip to content

Commit

Permalink
Add parent call to all tearDown
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Oct 28, 2024
1 parent 8cb0650 commit 52ecacd
Show file tree
Hide file tree
Showing 25 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/Auth/DoctrineUserProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,7 @@ protected function mockGetRepository($class = AuthenticableMock::class)
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Auth/Passwords/DoctrineTokenRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,5 +276,7 @@ public function test_can_delete_expired()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ public function test_can_resolve()
public function tearDown(): void
{
Mockery::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/Cache/CacheManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,7 @@ public function test_can_replace_an_existing_driver()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ public function test_driver_has_no_namespace_by_default(): void
public function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,7 @@ public function test_can_replace_an_existing_driver()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@ public function test_can_resolve_with_full_in__memory_database()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/MetaData/AttributesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/MetaData/MetaDataManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,7 @@ public function test_can_replace_an_existing_driver()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/MetaData/PhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/MetaData/SimplifiedXmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/MetaData/StaticPhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ public function test_can_resolve()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Configuration/MetaData/XmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@ public function test_can_not_specify_extension_without_error()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/DoctrineManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ protected function tearDown(): void
{
m::close();
BootChain::flush();

parent::tearDown();
}

public function assertExtendedCorrectly($configuration, $connection, $eventManager)
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/EntityManagerFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,8 @@ public function testPrimaryReadReplicaConnection(
protected function tearDown(): void
{
m::close();

parent::tearDown();
}

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/Extensions/ExtensionManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ protected function tearDown(): void
m::close();

$this->manager = $this->newManager();

parent::tearDown();
}

protected function newManager()
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/Extensions/MappingDriverChainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,7 @@ public function test_can_add_paths_to_simplified_filedriver()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/IlluminateRegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,5 +562,7 @@ public function test_get_manager_after_reset_should_return_new_manager()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Middleware/SubstituteBindingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,7 @@ public function test_for_typed_value_binding()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}
2 changes: 2 additions & 0 deletions tests/Feature/Resolvers/EntityListenerResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ protected function setUp(): void
protected function tearDown(): void
{
m::close();

parent::tearDown();
}

public function testImplementsDoctrineInterface()
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/Validation/DoctrinePresenceVerifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,7 @@ protected function defaultGetMultiCountMocks()
protected function tearDown(): void
{
m::close();

parent::tearDown();
}
}

0 comments on commit 52ecacd

Please sign in to comment.