Files
pocketbase-php-sdk/tests/CollectionTest.php
2025-01-12 11:57:48 +01:00

17 lines
380 B
PHP

<?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class CollectionTest extends TestCase
{
public function test(): void
{
$expected = [];
$url = 'https://admin.pocketbase.dev';
$collection = new \Pb\Collection($url, 'users');
$actual = $collection->getList(1,10);
$this->assertSame($expected, $actual);
}
}