Skip to content

Commit 6321cb8

Browse files
committed
fix: reorder username and password properties for consistency across MSSQL test classes.
1 parent 9d40d7e commit 6321cb8

11 files changed

+22
-22
lines changed

tests/mssql/CacheManagementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class CacheManagementTest extends AbstractCacheManagement
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/ExceptionHandlingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class ExceptionHandlingTest extends AbstractExceptionHandling
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/ExtensibilityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class ExtensibilityTest extends AbstractExtensibility
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/NodeAppendTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class NodeAppendTest extends AbstractNodeAppend
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/NodeDeleteTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class NodeDeleteTest extends AbstractNodeDelete
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/NodeInsertTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class NodeInsertTest extends AbstractNodeInsert
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/NodePrependTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class NodePrependTest extends AbstractNodePrepend
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/NodeStateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class NodeStateTest extends AbstractNodeState
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/QueryBehaviorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class QueryBehaviorTest extends AbstractQueryBehavior
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

tests/mssql/TreeTraversalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ final class TreeTraversalTest extends AbstractTreeTraversal
1212
{
1313
protected string $driverName = 'sqlsrv';
1414
protected string|null $dsn = 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no';
15-
protected string $password = 'SA';
16-
protected string $username = 'YourStrong!Passw0rd';
15+
protected string $password = 'YourStrong!Passw0rd';
16+
protected string $username = 'SA';
1717
}

0 commit comments

Comments
 (0)