mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 15:05:45 +00:00
Merge branch '1'
This commit is contained in:
commit
d7118b6267
@ -9,7 +9,7 @@ php:
|
||||
|
||||
env:
|
||||
global:
|
||||
- DB="POSTGRESQL"
|
||||
- DB="PGSQL"
|
||||
- CORE_RELEASE="4"
|
||||
|
||||
before_script:
|
||||
@ -24,7 +24,7 @@ before_script:
|
||||
|
||||
# Install composer dependencies
|
||||
- composer install --prefer-dist
|
||||
- composer require --prefer-dist --no-update symfony/config:^3.2 silverstripe/framework:4.0.x-dev silverstripe/siteconfig:4.0.x-dev silverstripe/config:1.0.x-dev silverstripe/admin:1.0.x-dev silverstripe/assets:1.0.x-dev silverstripe/versioned:1.0.x-dev
|
||||
- composer require --prefer-dist --no-update symfony/config:^3.2 silverstripe/framework:4.0.x-dev silverstripe/cms:4.0.x-dev silverstripe/siteconfig:4.0.x-dev silverstripe/config:1.0.x-dev silverstripe/admin:1.0.x-dev silverstripe/assets:1.0.x-dev silverstripe/versioned:1.0.x-dev
|
||||
- composer update
|
||||
|
||||
script:
|
||||
|
@ -1,4 +1,4 @@
|
||||
<phpunit bootstrap="framework/tests/bootstrap.php" colors="true">
|
||||
<phpunit bootstrap="cms/tests/bootstrap.php" colors="true">
|
||||
|
||||
<testsuite name="Default">
|
||||
<directory>tests</directory>
|
||||
|
@ -11,6 +11,8 @@ use SilverStripe\PostgreSQL\PostgreSQLDatabase;
|
||||
*/
|
||||
class PostgreSQLDatabaseTest extends SapphireTest
|
||||
{
|
||||
protected $usesDatabase = true;
|
||||
|
||||
public function testReadOnlyTransaction()
|
||||
{
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user