From 75354764d8bba6c2d8722c0f4e1d44ddcdb761fe Mon Sep 17 00:00:00 2001 From: Jonathan Martz Date: Sun, 12 Jan 2025 19:05:51 +0100 Subject: [PATCH] add failimng test --- tests/CollectionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CollectionTest.php b/tests/CollectionTest.php index f508f34..1e3939e 100644 --- a/tests/CollectionTest.php +++ b/tests/CollectionTest.php @@ -35,6 +35,6 @@ final class CollectionTest extends TestCase $this->assertTrue(array_key_exists('perPage', $actual), 'Key "perPage" does not exist in the response.'); $this->assertTrue(array_key_exists('totalItems', $actual), 'Key "totalItems" does not exist in the response.'); $this->assertTrue(array_key_exists('totalPages', $actual), 'Key "totalPages" does not exist in the response.'); - $this->assertCount(0, $actual['items'], 'Expected no items in the response.'); + $this->assertCount(1, $actual['items'], 'Expected no items in the response.'); } } \ No newline at end of file