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.
23 lines
598 B
23 lines
598 B
4 weeks ago
|
<?php
|
||
|
|
||
|
|
||
|
use Darksparrow\DeegraphInteractions\Exceptions\QueryBuilderConflictingFieldAlreadyExistsException;
|
||
|
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilder;
|
||
|
use PHPUnit\Framework\TestCase;
|
||
|
|
||
|
final class QueryBuilderDeleteTest extends TestCase
|
||
|
{
|
||
|
private string $TestUUID = "{00000000-0000-0000-0000-000000000000}";
|
||
|
|
||
|
public function test0()
|
||
|
{
|
||
|
$query = QueryBuilder::Delete()
|
||
|
->RelativePath($this->TestUUID)
|
||
|
->Build();
|
||
|
self::assertEquals(
|
||
|
expected: "DELETE {$this->TestUUID}",
|
||
|
actual: $query
|
||
|
);
|
||
|
}
|
||
|
}
|