mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Suppress DB default record output in behat runs
This commit is contained in:
parent
103372a08a
commit
046350fcce
@ -167,6 +167,7 @@ class SilverStripeContext extends MinkContext implements SilverStripeAwareContex
|
|||||||
\SapphireTest::empty_temp_db();
|
\SapphireTest::empty_temp_db();
|
||||||
global $databaseConfig;
|
global $databaseConfig;
|
||||||
\DB::connect($databaseConfig);
|
\DB::connect($databaseConfig);
|
||||||
|
\DB::getConn()->quiet();
|
||||||
$dataClasses = \ClassInfo::subclassesFor('DataObject');
|
$dataClasses = \ClassInfo::subclassesFor('DataObject');
|
||||||
array_shift($dataClasses);
|
array_shift($dataClasses);
|
||||||
foreach ($dataClasses as $dataClass) {
|
foreach ($dataClasses as $dataClass) {
|
||||||
|
Loading…
Reference in New Issue
Block a user