Skip to content

Commit 30716d3

Browse files
Fix tests/DevicesTest.php
1 parent 8cd8aad commit 30716d3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/DevicesTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ public function testGetAndListDevices(): void
4141
$device = $seam->devices->get(name: $device_name);
4242
$this->assertTrue($device->properties->manufacturer === $manufacturer);
4343

44-
$seam->devices->delete(device_id: $device_id);
45-
try {
46-
$seam->devices->get(device_id: $device_id);
47-
48-
$this->fail("Expected the device to be deleted");
49-
} catch (\Seam\HttpApiError $exception) {
50-
$this->assertTrue(
51-
str_contains($exception->getErrorCode(), "device_not_found")
52-
);
53-
}
54-
5544
$stable_device_providers = $seam->devices->list_device_providers(
5645
provider_category: "stable"
5746
);

0 commit comments

Comments
 (0)