|
@ -14,8 +14,7 @@ final class QueryBuilderLinkTest extends TestCase |
|
|
self::assertEquals( |
|
|
self::assertEquals( |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test", |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test", |
|
|
actual: QueryBuilder::Link() |
|
|
actual: QueryBuilder::Link() |
|
|
->LinkWhat($this->TestUUID) |
|
|
->LinkToRelativePath($this->TestUUID, $this->TestUUID) |
|
|
->LinkTo($this->TestUUID) |
|
|
|
|
|
->As("test") |
|
|
->As("test") |
|
|
->Build() |
|
|
->Build() |
|
|
); |
|
|
); |
|
@ -25,8 +24,7 @@ final class QueryBuilderLinkTest extends TestCase |
|
|
self::assertEquals( |
|
|
self::assertEquals( |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test OVERWRITE", |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test OVERWRITE", |
|
|
actual: QueryBuilder::Link() |
|
|
actual: QueryBuilder::Link() |
|
|
->LinkWhat($this->TestUUID) |
|
|
->LinkToRelativePath($this->TestUUID, $this->TestUUID) |
|
|
->LinkTo($this->TestUUID) |
|
|
|
|
|
->As("test") |
|
|
->As("test") |
|
|
->Overwrite() |
|
|
->Overwrite() |
|
|
->Build() |
|
|
->Build() |
|
@ -37,8 +35,7 @@ final class QueryBuilderLinkTest extends TestCase |
|
|
self::assertEquals( |
|
|
self::assertEquals( |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test REPLACE", |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test REPLACE", |
|
|
actual: QueryBuilder::Link() |
|
|
actual: QueryBuilder::Link() |
|
|
->LinkWhat($this->TestUUID) |
|
|
->LinkToRelativePath($this->TestUUID, $this->TestUUID) |
|
|
->LinkTo($this->TestUUID) |
|
|
|
|
|
->As("test") |
|
|
->As("test") |
|
|
->Replace() |
|
|
->Replace() |
|
|
->Build() |
|
|
->Build() |
|
@ -49,8 +46,7 @@ final class QueryBuilderLinkTest extends TestCase |
|
|
self::assertEquals( |
|
|
self::assertEquals( |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test FORCE", |
|
|
expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test FORCE", |
|
|
actual: QueryBuilder::Link() |
|
|
actual: QueryBuilder::Link() |
|
|
->LinkWhat($this->TestUUID) |
|
|
->LinkToRelativePath($this->TestUUID, $this->TestUUID) |
|
|
->LinkTo($this->TestUUID) |
|
|
|
|
|
->As("test") |
|
|
->As("test") |
|
|
->Force() |
|
|
->Force() |
|
|
->Build() |
|
|
->Build() |
|
@ -61,8 +57,7 @@ final class QueryBuilderLinkTest extends TestCase |
|
|
self::assertEquals( |
|
|
self::assertEquals( |
|
|
expected: "LINK {$this->TestUUID} OF {$this->TestUUID} AS test", |
|
|
expected: "LINK {$this->TestUUID} OF {$this->TestUUID} AS test", |
|
|
actual: QueryBuilder::Link() |
|
|
actual: QueryBuilder::Link() |
|
|
->LinkWhat($this->TestUUID) |
|
|
->LinkOfRelativePath($this->TestUUID, $this->TestUUID) |
|
|
->LinkOf($this->TestUUID) |
|
|
|
|
|
->As("test") |
|
|
->As("test") |
|
|
->Build() |
|
|
->Build() |
|
|
); |
|
|
); |
|
@ -73,8 +68,7 @@ final class QueryBuilderLinkTest extends TestCase |
|
|
self::assertEquals( |
|
|
self::assertEquals( |
|
|
expected: "LINK {$this->TestUUID} OF {$this->TestUUID} AS test", |
|
|
expected: "LINK {$this->TestUUID} OF {$this->TestUUID} AS test", |
|
|
actual: QueryBuilder::Link() |
|
|
actual: QueryBuilder::Link() |
|
|
->LinkWhat($this->TestUUID) |
|
|
->LinkOfRelativePath($this->TestUUID, $this->TestUUID) |
|
|
->LinkOf($this->TestUUID) |
|
|
|
|
|
->As("test") |
|
|
->As("test") |
|
|
->Overwrite() |
|
|
->Overwrite() |
|
|
->Replace() |
|
|
->Replace() |
|
|