Skip to content

Commit

Permalink
Added tests for PR #881
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Aug 29, 2017
1 parent 71e3fff commit 647f830
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/OfficialAccount/Card/CardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 647f830

Please sign in to comment.