Remove reference to Object with SS_Object

This commit is contained in:
Indy Griffiths 2019-10-14 16:12:16 +13:00
parent 46f42a5cb6
commit 730374d666
4 changed files with 14 additions and 11 deletions

View File

@ -4,19 +4,18 @@ language: php
sudo: false
php:
- 5.5
env:
matrix:
- DB=MYSQL CORE_RELEASE=3.4
- DB=MYSQL CORE_RELEASE=3.7
matrix:
include:
- php: 5.3
env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.7
- php: 7.2
env: DB=MYSQL CORE_RELEASE=3.7
- php: 7.3
env: DB=MYSQL CORE_RELEASE=3.7
before_script:
- phpenv rehash
@ -25,4 +24,4 @@ before_script:
- cd ~/builds/ss
script:
- phpunit testsession/tests/unit/
- vendor/bin/phpunit testsession/tests/unit/

View File

@ -25,3 +25,7 @@ if(class_exists('Resque_Event') && class_exists('SSResqueRun')) {
}
});
}
if (!class_exists('SS_Object')) {
class_alias('Object', 'SS_Object');
}

View File

@ -24,7 +24,7 @@
*
* See {@link $state} for default information stored in the test session.
*/
class TestSessionEnvironment extends Object
class TestSessionEnvironment extends SS_Object
{
/**

View File

@ -13,7 +13,7 @@
],
"require": {
"composer/installers": "*",
"silverstripe/framework": "^3.2"
"silverstripe/framework": "^3.7"
},
"minimum-stability": "dev"
}