Differential D21461 Diff 51072 src/applications/metamta/adapter/__tests__/PhabricatorMailAdapterTestCase.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/metamta/adapter/__tests__/PhabricatorMailAdapterTestCase.php
<?php | <?php | ||||
final class PhabricatorMailAdapterTestCase | final class PhabricatorMailAdapterTestCase | ||||
extends PhabricatorTestCase { | extends PhabricatorTestCase { | ||||
public function testSupportsMessageID() { | public function testSupportsMessageID() { | ||||
$cases = array( | $cases = array( | ||||
array( | array( | ||||
pht('Amazon SES'), | pht('Amazon SES'), | ||||
false, | false, | ||||
new PhabricatorMailAmazonSESAdapter(), | new PhabricatorMailAmazonSESAdapter(), | ||||
array( | array( | ||||
'access-key' => 'test', | 'access-key' => 'test', | ||||
'secret-key' => 'test', | 'secret-key' => 'test', | ||||
'region' => 'test', | |||||
'endpoint' => 'test', | 'endpoint' => 'test', | ||||
), | ), | ||||
), | ), | ||||
array( | array( | ||||
pht('Mailgun'), | pht('Mailgun'), | ||||
true, | true, | ||||
new PhabricatorMailMailgunAdapter(), | new PhabricatorMailMailgunAdapter(), | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |