You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 line
455B

  1. <?php
  2. namespace Tests\Feature\Http\API\SMBC;
  3. use App\Http\API\SMBC\SMBC;
  4. use App\Util\DateUtil;
  5. use Tests\TestCase;
  6. class SMBCTest extends TestCase
  7. {
  8. public function test_poll(): void
  9. {
  10. $from = DateUtil::now()->setDate(2023, 10, 5);
  11. $to = DateUtil::now()->setDate(2023, 10, 7);
  12. $result = SMBC::poll($from, $to);
  13. $this->assertEquals("", $result->getMessage());
  14. $this->assertTrue($result->ok());
  15. }
  16. }