You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
590 B

<?php
use Darksparrow\DeegraphInteractions\Exceptions\QueryBuilderConflictingFieldAlreadyExistsException;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilder;
use PHPUnit\Framework\TestCase;
final class QueryBuilderPermissionsTest extends TestCase
{
public function testReferenceQuery()
{
$query = QueryBuilder::Permission()
->On("{00000000-0000-0000-0000-000000000000}")
->Build();
self::assertEquals(
expected: 'PERMISSIONS ON {00000000-0000-0000-0000-000000000000}',
actual: $query
);
}
}