mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Updated travis config, added legacy.yml and composer.json updated
This commit is contained in:
parent
a05da9bb6f
commit
2c3ed60039
@ -3,17 +3,18 @@
|
|||||||
namespace SilverStripe\MultiForm\Tests;
|
namespace SilverStripe\MultiForm\Tests;
|
||||||
|
|
||||||
use SilverStripe\Dev\SapphireTest;
|
use SilverStripe\Dev\SapphireTest;
|
||||||
|
use SilverStripe\MultiForm\Extensions\MultiFormObjectDecorator;
|
||||||
|
|
||||||
class MultiFormObjectDecoratorTest extends SapphireTest
|
class MultiFormObjectDecoratorTest extends SapphireTest
|
||||||
{
|
{
|
||||||
protected static $fixture_file = 'MultiFormObjectDecoratorTest.yml';
|
protected static $fixture_file = 'MultiFormObjectDecoratorTest.yml';
|
||||||
|
|
||||||
protected $requiredExtensions = [
|
protected static $required_extensions = [
|
||||||
'MultiFormObjectDecoratorDataObject' => ['MultiFormObjectDecorator']
|
MultiFormObjectDecoratorDataObject::class => [MultiFormObjectDecorator::class]
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $extraDataObjects = [
|
protected $extraDataObjects = [
|
||||||
'MultiFormObjectDecoratorDataObject'
|
MultiFormObjectDecoratorDataObject::class
|
||||||
];
|
];
|
||||||
|
|
||||||
public function testTemporaryDataFilteredQuery()
|
public function testTemporaryDataFilteredQuery()
|
||||||
|
@ -10,4 +10,6 @@ class MultiFormObjectDecoratorDataObject extends DataObject implements TestOnly
|
|||||||
private static $db = [
|
private static $db = [
|
||||||
'Name' => 'Varchar'
|
'Name' => 'Varchar'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
private static $table_name = 'MultiFormObjectDecoratorDataObject';
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ use SilverStripe\Dev\TestOnly;
|
|||||||
*/
|
*/
|
||||||
class MultiFormTestController extends Controller implements TestOnly
|
class MultiFormTestController extends Controller implements TestOnly
|
||||||
{
|
{
|
||||||
public function Link()
|
public function Link($action = null)
|
||||||
{
|
{
|
||||||
return self::class;
|
return self::class;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user