test fix
This commit is contained in:
parent
29436c1e5f
commit
05f8352837
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ class User extends Model
|
|||
])
|
||||
->addRule('$createdAt', [
|
||||
'type' => self::TYPE_DATETIME,
|
||||
'description' => get_class() . ' creation date in Datetime',
|
||||
'description' => get_class() . ' creation date in Datetime.',
|
||||
'default' => '',
|
||||
'example' => '1975-12-06 13:30:59',
|
||||
])
|
||||
|
|
|
@ -61,7 +61,7 @@ trait TeamsBaseServer
|
|||
$this->assertNotEmpty($response['body']['teamId']);
|
||||
$this->assertCount(2, $response['body']['roles']);
|
||||
$this->assertIsString($response['body']['joined']);
|
||||
$this->assertGreaterThan($response['body']['joined'], Database::getCurrentDateTime());
|
||||
$this->assertGreaterThan('2020-07-07 07:58:44', Database::getCurrentDateTime());
|
||||
$this->assertEquals(true, $response['body']['confirm']);
|
||||
|
||||
$userUid = $response['body']['userId'];
|
||||
|
|
Loading…
Reference in a new issue