Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Commit 873d84e

Browse files
author
Daniel Opitz
committed
Moved tests to sub namespace
1 parent 0c40d7b commit 873d84e

11 files changed

Lines changed: 12 additions & 10 deletions

src/Database/SelectQuery.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ public function leftJoin(string $table, string $leftField, string $comparison, $
231231
*
232232
* @param string $table Table name
233233
* @param string $conditions The ON conditions e.g. 'user.id = article.user_id'
234+
*
234235
* @return self
235236
*/
236237
public function joinRaw(string $table, string $conditions): self
@@ -245,6 +246,7 @@ public function joinRaw(string $table, string $conditions): self
245246
*
246247
* @param string $table Table name
247248
* @param string $conditions The ON conditions e.g. 'user.id = article.user_id'
249+
*
248250
* @return self
249251
*/
250252
public function leftJoinRaw(string $table, string $conditions): self

tests/BaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\Connection;
66
use Odan\Database\Schema;

tests/CompressionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\Compression;
66

tests/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types = 1);
44

5-
namespace Odan\Test;
5+
namespace Odan\Database\Test;
66

77
use Odan\Database\Connection;
88
use PDO;

tests/DeleteQueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\DeleteQuery;
66
use PDOStatement;

tests/InsertQueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\InsertQuery;
66
use PDOStatement;

tests/QuoterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types = 1);
44

5-
namespace Odan\Test;
5+
namespace Odan\Database\Test;
66

77
use Odan\Database\Quoter;
88
use Odan\Database\RawExp;

tests/RawExpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\RawExp;
66

tests/SchemaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\Schema;
66
use PDO;

tests/SelectQueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Odan\Test;
3+
namespace Odan\Database\Test;
44

55
use Odan\Database\Operator;
66
use Odan\Database\RawExp;

0 commit comments

Comments
 (0)