@@ -257,7 +257,7 @@ |
||
| 257 | 257 | /** |
| 258 | 258 | * Get the log entry information form the page. |
| 259 | 259 | * |
| 260 | - * @return array |
|
| 260 | + * @return callable |
|
| 261 | 261 | * List of entries and their information. |
| 262 | 262 | */ |
| 263 | 263 | protected function getLogEntries() : array { |
@@ -7,11 +7,11 @@ |
||
| 7 | 7 | use Drupal\Core\Logger\RfcLogLevel; |
| 8 | 8 | use Drupal\Core\Site\Settings; |
| 9 | 9 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
| 10 | +use Drupal\Tests\BrowserTestBase; |
|
| 10 | 11 | use Drupal\mongodb\MongoDb; |
| 11 | 12 | use Drupal\mongodb_watchdog\Logger; |
| 12 | -use Drupal\Tests\BrowserTestBase; |
|
| 13 | -use Psr\Log\LoggerInterface; |
|
| 14 | 13 | use Psr\Log\LogLevel; |
| 14 | +use Psr\Log\LoggerInterface; |
|
| 15 | 15 | use Symfony\Component\HttpFoundation\Response; |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -6,9 +6,9 @@ |
||
| 6 | 6 | |
| 7 | 7 | use Drupal\Core\Logger\RfcLogLevel; |
| 8 | 8 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
| 9 | +use Drupal\Tests\mongodb\Kernel\MongoDbTestBase; |
|
| 9 | 10 | use Drupal\mongodb\MongoDb; |
| 10 | 11 | use Drupal\mongodb_watchdog\Logger; |
| 11 | -use Drupal\Tests\mongodb\Kernel\MongoDbTestBase; |
|
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Class LoggerTest tests the logging mechanism itself. |