Skip to content

Commit 3211ac7

Browse files
committed
chore: lint
1 parent e129f69 commit 3211ac7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/Feature/CurationSetItemsTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ protected function setUp(): void
4242
protected function tearDown(): void
4343
{
4444
try {
45-
$this->curationSets['test-curation-set-items']->delete();
45+
if ($this->curationSets !== null) {
46+
$this->curationSets['test-curation-set-items']->delete();
47+
}
4648
} catch (Exception $e) {
4749
// Ignore cleanup errors
4850
}

tests/Feature/CurationSetsTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ protected function setUp(): void
4343
protected function tearDown(): void
4444
{
4545
try {
46-
$this->curationSets['test-curation-set']->delete();
46+
if ($this->curationSets !== null) {
47+
$this->curationSets['test-curation-set']->delete();
48+
}
4749
} catch (Exception $e) {
4850
// Ignore cleanup errors
4951
}

0 commit comments

Comments
 (0)