Drupal modules for browsing and managing Fedora-based digital repositories.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

60 lines
1.1 KiB

<?php
namespace Drupal\Tests\islandora\Kernel;
use Drupal\KernelTests\KernelTestBase;
/**
* Abstract base class for Islandora kernel tests.
*/
abstract class IslandoraKernelTestBase extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
'system',
'user',
'field',
'filter',
'block',
'node',
'path',
'text',
'options',
'serialization',
'rest',
'basic_auth',
'hal',
'rdf',
'action',
'context',
'jsonld',
'views',
'key',
'jwt',
'file',
'image',
'media',
'islandora',
'flysystem',
];
/**
* {@inheritdoc}
*/
public function setUp() {
parent::setUp();
// Bootstrap minimal Drupal environment to run the tests.
$this->installSchema('system', 'sequences');
$this->installSchema('node', 'node_access');
$this->installEntitySchema('user');
$this->installEntitySchema('node');
$this->installEntitySchema('context');
$this->installEntitySchema('file');
$this->installConfig('filter');
$this->installConfig('rest');
}
}