HistoryMessageTest.php 579 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace tests;
  3. class HistoryMessageTest extends Base
  4. {
  5. public function __construct()
  6. {
  7. parent::__construct();
  8. date_default_timezone_set('PRC');
  9. }
  10. /*
  11. // 发送消息一小时后再测试
  12. public function testHistoryMsgGetAsUri()
  13. {
  14. $this->assertIsNotArray($this->message->getHistoryAsUri(date('YmdH', time() - 60*60)));
  15. }
  16. public function testHistoryMsgGetAsLocalFile()
  17. {
  18. $this->assertIsNotArray($this->assertIsString($this->message->getHistoryAsUri(date('YmdH', time() - 60*60))));
  19. }
  20. */
  21. }