Transform email header string to header array & replace it at various situations.

This commit is contained in:
Philipp 2020-09-19 20:14:55 +02:00
parent 766d92aaa0
commit ac1d2cf38f
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
7 changed files with 75 additions and 28 deletions

View file

@ -41,7 +41,7 @@ class SystemMailBuilderTest extends MockedTest
/** @var BaseURL */
private $baseUrl;
/** @var string */
/** @var string[] */
private $defaultHeaders;
public function setUp()
@ -60,7 +60,7 @@ class SystemMailBuilderTest extends MockedTest
$this->baseUrl->shouldReceive('getHostname')->andReturn('friendica.local');
$this->baseUrl->shouldReceive('get')->andReturn('http://friendica.local');
$this->defaultHeaders = "";
$this->defaultHeaders = [];
}
/**