Skip to content

Commit 081c662

Browse files
committed
address greptile
1 parent 55e11db commit 081c662

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/test_organization_domains.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import datetime
21
from typing import Union
32
import pytest
43
from tests.utils.syncify import syncify
@@ -25,8 +24,8 @@ def mock_organization_domain(self):
2524
"verification_strategy": "dns",
2625
"verification_token": "workos_example_verification_token_12345",
2726
"verification_prefix": "_workos-challenge",
28-
"created_at": datetime.datetime.now().isoformat(),
29-
"updated_at": datetime.datetime.now().isoformat(),
27+
"created_at": "2023-01-01T12:00:00.000Z",
28+
"updated_at": "2023-01-01T12:00:00.000Z",
3029
}
3130

3231
@pytest.fixture
@@ -40,8 +39,8 @@ def mock_organization_domain_verified(self):
4039
"verification_strategy": "dns",
4140
"verification_token": "workos_example_verification_token_12345",
4241
"verification_prefix": "_workos-challenge",
43-
"created_at": datetime.datetime.now().isoformat(),
44-
"updated_at": datetime.datetime.now().isoformat(),
42+
"created_at": "2023-01-01T12:00:00.000Z",
43+
"updated_at": "2023-01-01T12:00:00.000Z",
4544
}
4645

4746
def test_get_organization_domain(

0 commit comments

Comments
 (0)