1 | <?php |
||
15 | abstract class MongoDbTestBase extends KernelTestBase { |
||
16 | const DEFAULT_URI = 'mongodb://localhost:27017'; |
||
17 | const CLIENT_BAD_ALIAS = 'bad'; |
||
18 | const CLIENT_TEST_ALIAS = 'test'; |
||
19 | |||
20 | const DB_BAD_CLIENT_ALIAS = 'bad'; |
||
21 | const DB_INVALID_ALIAS = 'invalid'; |
||
22 | const DB_DEFAULT_ALIAS = 'default'; |
||
23 | const DB_UNSET_ALIAS = 'unset'; |
||
24 | |||
25 | public static $modules = ['mongodb']; |
||
26 | |||
27 | /** |
||
28 | * A test-specific instance of Settings. |
||
29 | * |
||
30 | * @var \Drupal\Core\Site\Settings |
||
31 | */ |
||
32 | protected $settings; |
||
33 | |||
34 | protected $uri; |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function setUp() { |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function tearDown() { |
||
79 | } |
||
|
|||
80 |
This check marks files that end in a newline character, i.e. an empy line.