From d27bcabc8bc0ab41dbd2219519718b11f8f9ce94 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 2 Jan 2020 15:08:08 +0100 Subject: tests: code coverage cleanup --- tests/Unit/Helpers/AuthenticatorTest.php | 2 +- tests/Unit/Helpers/Translation/GettextTranslatorTest.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/Unit/Helpers') diff --git a/tests/Unit/Helpers/AuthenticatorTest.php b/tests/Unit/Helpers/AuthenticatorTest.php index 03033858..e088b82c 100644 --- a/tests/Unit/Helpers/AuthenticatorTest.php +++ b/tests/Unit/Helpers/AuthenticatorTest.php @@ -16,7 +16,7 @@ class AuthenticatorTest extends ServiceProviderTest use HasDatabase; /** - * @covers \Engelsystem\Helpers\Authenticator::__construct( + * @covers \Engelsystem\Helpers\Authenticator::__construct * @covers \Engelsystem\Helpers\Authenticator::user */ public function testUser() diff --git a/tests/Unit/Helpers/Translation/GettextTranslatorTest.php b/tests/Unit/Helpers/Translation/GettextTranslatorTest.php index 825cf5b7..176b3093 100644 --- a/tests/Unit/Helpers/Translation/GettextTranslatorTest.php +++ b/tests/Unit/Helpers/Translation/GettextTranslatorTest.php @@ -54,6 +54,9 @@ class GettextTranslatorTest extends ServiceProviderTest $this->assertEquals('Translations!', $translator->dnpgettext(null, null, 'test.value', 'test.values', 2)); } + /** + * @return Translations + */ protected function getTranslations(): Translations { $translations = new Translations(); -- cgit v1.2.3-54-g00ecf