Skip to content

Commit 70fd65e

Browse files
00
1 parent 564a4ed commit 70fd65e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/HeaderInfoTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Javanile\Imap2\Tests;
44

55
use Javanile\Imap2\Connection;
6+
use Javanile\Imap2\Functions;
67
use Javanile\Imap2\HeaderInfo;
78
use PHPUnit\Framework\Error\Warning;
89

@@ -16,7 +17,7 @@ public function testSanitizeAddress()
1617
];
1718

1819
foreach ($inputs as $input => $output) {
19-
$this->assertEquals($output, HeaderInfo::sanitizeAddress($input, 'localhost'));
20+
$this->assertEquals($output, Functions::sanitizeAddress($input, 'localhost'));
2021
}
2122
}
2223
}

tests/SignaturesTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ public function testInputOutputDeep()
105105
{
106106
$inputs = json_decode(file_get_contents('tests/fixtures/inputs.json'), true);
107107
foreach ($this->functions as $function) {
108+
if ($function == 'errors') {
109+
continue;
110+
}
108111
$parameters = $inputs[$function] ?? array_map(
109112
function($parameter) use ($function) { return $parameter->name; },
110113
(new \ReflectionFunction('imap2_'.$function))->getParameters()

0 commit comments

Comments
 (0)