1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

change test validations from strings to datetime

This commit is contained in:
fogelito 2022-07-12 20:51:00 +03:00
parent f676a0bf9e
commit 2a9983032d

View file

@ -111,7 +111,7 @@ trait TeamsBaseClient
$this->assertNotEmpty($response['body']['teamId']);
$this->assertNotEmpty($response['body']['teamName']);
$this->assertCount(2, $response['body']['roles']);
$this->assertEquals(true, DateTime::isValid($response['body']['joined']));
$this->assertEquals(false, DateTime::isValid($response['body']['joined'])); // is null in DB
$this->assertEquals(false, $response['body']['confirm']);
$lastEmail = $this->getLastEmail();