From 647f8306dd0782b899aa4a559487f477a39240bc Mon Sep 17 00:00:00 2001 From: overtrue Date: Tue, 29 Aug 2017 10:13:55 +0800 Subject: [PATCH] Added tests for PR #881 --- tests/OfficialAccount/Card/CardTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/OfficialAccount/Card/CardTest.php b/tests/OfficialAccount/Card/CardTest.php index 2b2ffe691..13b28291a 100644 --- a/tests/OfficialAccount/Card/CardTest.php +++ b/tests/OfficialAccount/Card/CardTest.php @@ -17,6 +17,7 @@ use EasyWeChat\OfficialAccount\Card\Client; use EasyWeChat\OfficialAccount\Card\CodeClient; use EasyWeChat\OfficialAccount\Card\CoinClient; +use EasyWeChat\OfficialAccount\Card\GeneralCardClient; use EasyWeChat\OfficialAccount\Card\JssdkClient; use EasyWeChat\OfficialAccount\Card\MeetingTicketClient; use EasyWeChat\OfficialAccount\Card\MemberCardClient; @@ -37,6 +38,7 @@ public function testBasicProperties() $this->assertInstanceOf(MovieTicketClient::class, $card->movie_ticket); $this->assertInstanceOf(CoinClient::class, $card->coin); $this->assertInstanceOf(MemberCardClient::class, $card->member_card); + $this->assertInstanceOf(GeneralCardClient::class, $card->general_card); $this->assertInstanceOf(CodeClient::class, $card->code); $this->assertInstanceOf(SubMerchantClient::class, $card->sub_merchant); $this->assertInstanceOf(JssdkClient::class, $card->jssdk);