1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00
This commit is contained in:
fogelito 2022-07-07 11:07:42 +03:00
parent 29436c1e5f
commit 05f8352837
2 changed files with 2 additions and 2 deletions

View file

@ -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',
])

View file

@ -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'];