From 7d12733013b4200c01a3ffc75c5b78258c00f5fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Tue, 29 Aug 2023 15:09:34 +0800 Subject: [PATCH] =?UTF-8?q?test(email):=20=E5=B0=86=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=8F=91=E4=BB=B6=E9=82=AE=E7=AE=B1=E6=94=B9=E4=B8=BA=E4=BA=86?= =?UTF-8?q?=20exchange?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李东云 --- tests/Unit/EmailServiceTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Unit/EmailServiceTest.php b/tests/Unit/EmailServiceTest.php index 004a063..b8dd4a8 100644 --- a/tests/Unit/EmailServiceTest.php +++ b/tests/Unit/EmailServiceTest.php @@ -12,9 +12,9 @@ namespace Singularity\HDK\Test\Core\Service; use Singularity\HDK\Core\Service\EmailService; 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 = 'account@luxcreo.ai'; +$mail_sender = 'account@LuxCreo.com'; $email = new EmailService($dsn, $mail_sender_name, $mail_sender); 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 ); expect($result)->toBeTrue(); -}); +})->only(); it('assertions that send Text is available', function () use ($email) { $result = $email->sendText(