Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Service/Autoconfig/MxRecordTest.php')
-rw-r--r--tests/Unit/Service/Autoconfig/MxRecordTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Service/Autoconfig/MxRecordTest.php b/tests/Unit/Service/Autoconfig/MxRecordTest.php
index 6172707fb..560ffdb73 100644
--- a/tests/Unit/Service/Autoconfig/MxRecordTest.php
+++ b/tests/Unit/Service/Autoconfig/MxRecordTest.php
@@ -30,7 +30,7 @@ class MxRecordTest extends TestCase {
/** @var MxRecord */
private $record;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$logger = $this->createMock(ILogger::class);
@@ -40,7 +40,7 @@ class MxRecordTest extends TestCase {
public function testQuery() {
$records = $this->record->query('nextcloud.com');
- $this->assertInternalType('array', $records);
+ $this->assertIsArray($records);
$this->assertNotEmpty($records);
}