Skip to content

Commit 2e5f419

Browse files
committed
small fixes
1 parent f8bc3a7 commit 2e5f419

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -876,14 +876,16 @@ NB: You MUST use an empty database as a destructive database fixture is loaded.
876876
### SQL server on Windows:
877877

878878
```
879-
C:\php-crud-api>"C:\PHP\php.exe" phpunit.phar
880-
PHPUnit 5.3.2 by Sebastian Bergmann and contributors.
879+
C:\php-crud-api>"c:\Program Files (x86)\PHP\v5.6\p
880+
hp.exe" phpunit.phar tests\SqlServerTest.php
881+
PHPUnit 5.2.10 by Sebastian Bergmann and contributors.
881882
882-
.................................................. 50 / 50 (100%)
883+
................................................................ 64 / 76 ( 84%)
884+
............ 76 / 76 (100%)
883885
884-
Time: 1.47 seconds, Memory: 6.75Mb
886+
Time: 9.53 seconds, Memory: 7.25Mb
885887
886-
OK (50 tests, 73 assertions)
888+
OK (76 tests, 111 assertions)
887889
888890
C:\php-crud-api>
889891
```

tests/SqlServerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function seedDatabase()
3232
'UID' => static::$config['username'],
3333
'PWD' => static::$config['password'],
3434
'Database' => static::$config['database'],
35-
'CharacterSet' => static::$config['UTF-8'],
35+
'CharacterSet' => 'UTF-8',
3636
];
3737

3838
$conn = sqlsrv_connect(static::$config['hostname'], $connectionInfo);

0 commit comments

Comments
 (0)