mirror of
https://github.com/jonathan-martz/pocketbase-php-sdk.git
synced 2026-04-03 07:27:42 +00:00
write first placeholder test
This commit is contained in:
16
tests/CollectionTest.php
Normal file
16
tests/CollectionTest.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user