Skip to content

Commit 15d342a

Browse files
committed
cleanup
1 parent 834079a commit 15d342a

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.github/workflows/phpunit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
with:
147147
php-version: ${{ matrix.php-versions }}
148148
tools: composer, phive, phpunit
149-
extensions: intl, json, mbstring, gd, xdebug, xml, sqlite3, sqlsrv-5.10.1, oci8, pgsql
149+
extensions: intl, json, mbstring, gd, xdebug, xml, sqlite3, sqlsrv, oci8, pgsql
150150
coverage: xdebug
151151
env:
152152
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tests/_support/TestCase.php

-12
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,4 @@ protected function tearDown(): void
4141
// Reset the current time.
4242
Time::setTestNow();
4343
}
44-
45-
/**
46-
* Handle custom field type conversion for SQLSRV
47-
*/
48-
public function field(string $name): string
49-
{
50-
if ($this->db->DBDriver === 'SQLSRV') {
51-
return "CONVERT(VARCHAR(MAX), {$name})";
52-
}
53-
54-
return $name;
55-
}
5644
}

0 commit comments

Comments
 (0)