Updated travis config, added legacy.yml and composer.json updated

This commit is contained in:
Franco Springveldt 2017-09-07 13:44:31 +12:00
parent a05da9bb6f
commit 2c3ed60039
3 changed files with 7 additions and 4 deletions

View File

@ -3,17 +3,18 @@
namespace SilverStripe\MultiForm\Tests;
use SilverStripe\Dev\SapphireTest;
use SilverStripe\MultiForm\Extensions\MultiFormObjectDecorator;
class MultiFormObjectDecoratorTest extends SapphireTest
{
protected static $fixture_file = 'MultiFormObjectDecoratorTest.yml';
protected $requiredExtensions = [
'MultiFormObjectDecoratorDataObject' => ['MultiFormObjectDecorator']
protected static $required_extensions = [
MultiFormObjectDecoratorDataObject::class => [MultiFormObjectDecorator::class]
];
protected $extraDataObjects = [
'MultiFormObjectDecoratorDataObject'
MultiFormObjectDecoratorDataObject::class
];
public function testTemporaryDataFilteredQuery()

View File

@ -10,4 +10,6 @@ class MultiFormObjectDecoratorDataObject extends DataObject implements TestOnly
private static $db = [
'Name' => 'Varchar'
];
private static $table_name = 'MultiFormObjectDecoratorDataObject';
}

View File

@ -11,7 +11,7 @@ use SilverStripe\Dev\TestOnly;
*/
class MultiFormTestController extends Controller implements TestOnly
{
public function Link()
public function Link($action = null)
{
return self::class;
}