mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git
synced 2026-01-15 03:45:06 +08:00
test(email): 将测试发件邮箱改为了 exchange
Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
@@ -12,9 +12,9 @@ namespace Singularity\HDK\Test\Core\Service;
|
|||||||
use Singularity\HDK\Core\Service\EmailService;
|
use Singularity\HDK\Core\Service\EmailService;
|
||||||
use Symfony\Component\Mailer\Exception\TransportException;
|
use Symfony\Component\Mailer\Exception\TransportException;
|
||||||
|
|
||||||
$dsn = 'smtp://account@luxcreo.ai:Qfsd8866@smtp.qiye.aliyun.com:465';
|
$dsn = 'smtp://account@luxcreo.com:Qfsd8866@smtp-mail.outlook.com:587';
|
||||||
$mail_sender_name = 'LuxCreo';
|
$mail_sender_name = 'LuxCreo';
|
||||||
$mail_sender = 'account@luxcreo.ai';
|
$mail_sender = 'account@LuxCreo.com';
|
||||||
$email = new EmailService($dsn, $mail_sender_name, $mail_sender);
|
$email = new EmailService($dsn, $mail_sender_name, $mail_sender);
|
||||||
|
|
||||||
it('assertions that send HTML is available', function () use ($email) {
|
it('assertions that send HTML is available', function () use ($email) {
|
||||||
@@ -26,7 +26,7 @@ it('assertions that send HTML is available', function () use ($email) {
|
|||||||
HTML
|
HTML
|
||||||
);
|
);
|
||||||
expect($result)->toBeTrue();
|
expect($result)->toBeTrue();
|
||||||
});
|
})->only();
|
||||||
|
|
||||||
it('assertions that send Text is available', function () use ($email) {
|
it('assertions that send Text is available', function () use ($email) {
|
||||||
$result = $email->sendText(
|
$result = $email->sendText(
|
||||||
|
|||||||
Reference in New Issue
Block a user