Skip to content

Commit 0b4bdfb

Browse files
committed
Add Disconnects to Tests
1 parent cf6c804 commit 0b4bdfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PhpSpreadsheetTests/Worksheet/ConditionalIntersectionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function testGetConditionalStyles(): void
3434
self::assertSame(Conditional::OPERATOR_BETWEEN, $cond[0]->getOperatorType());
3535
self::assertSame([2, 3], $cond[0]->getConditions());
3636
self::assertTrue($cond[0]->getStyle()->getFont()->getBold());
37+
$spreadsheet->disconnectWorksheets();
3738
}
3839

3940
public function testGetConditionalRange(): void
@@ -55,5 +56,6 @@ public function testGetConditionalRange(): void
5556
$sheet->setConditionalStyles('A1:C3 B1:B3', $conditionalStyles);
5657
self::assertNull($sheet->getConditionalRange('A2'));
5758
self::assertSame('A1:C3 B1:B3', $sheet->getConditionalRange('B2'));
59+
$spreadsheet->disconnectWorksheets();
5860
}
5961
}

0 commit comments

Comments
 (0)