summaryrefslogtreecommitdiff
path: root/tests/Feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Feature')
-rw-r--r--tests/Feature/Logger/EngelsystemLoggerTest.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/Feature/Logger/EngelsystemLoggerTest.php b/tests/Feature/Logger/EngelsystemLoggerTest.php
index f315d11a..f8b95fa2 100644
--- a/tests/Feature/Logger/EngelsystemLoggerTest.php
+++ b/tests/Feature/Logger/EngelsystemLoggerTest.php
@@ -13,6 +13,7 @@ use stdClass;
class EngelsystemLoggerTest extends ApplicationFeatureTest
{
/**
+ * @covers \Engelsystem\Logger\EngelsystemLogger::__construct
* @return LoggerInterface
*/
public function getLogger()
@@ -47,7 +48,7 @@ class EngelsystemLoggerTest extends ApplicationFeatureTest
}
/**
- * @covers \Engelsystem\Models\LogEntry
+ * @covers \Engelsystem\Logger\EngelsystemLogger::log
* @dataProvider provideLogLevels
* @param string $level
*/
@@ -148,10 +149,7 @@ class EngelsystemLoggerTest extends ApplicationFeatureTest
*/
protected function getLastEntry()
{
- $entries = LogEntry::all();
- $entry = $entries->last();
-
- return $entry;
+ return LogEntry::all()->last();
}
/**