Skip to content

Commit bad6ee2

Browse files
committed
feat: TT-243 Improve code quality by fixing code smells
1 parent 0681d3b commit bad6ee2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/time_tracker_api/time_entries/time_entries_query_builder_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_build_with_add_sql_date_range_condition():
4040
TimeEntryQueryBuilder()
4141
.add_sql_date_range_condition(
4242
{
43-
"start_date": "2021-03-19T05:00:00.000Z",
44-
"end_date": "2021-03-20T10:00:00.000Z",
43+
"start_date": "2021-04-19T05:00:00.000Z",
44+
"end_date": "2021-04-20T10:00:00.000Z",
4545
}
4646
)
4747
.build()
@@ -60,8 +60,8 @@ def test_build_with_add_sql_date_range_condition():
6060

6161

6262
def test_add_sql_interception_with_date_range_condition():
63-
start_date = "2021-03-19T05:07:00.000Z"
64-
end_date = "2021-03-25T10:00:00.000Z"
63+
start_date = "2021-01-19T05:07:00.000Z"
64+
end_date = "2021-01-25T10:00:00.000Z"
6565

6666
time_entry_query_builder = (
6767
TimeEntryQueryBuilder().add_sql_interception_with_date_range_condition(
@@ -80,8 +80,8 @@ def test_add_sql_interception_with_date_range_condition():
8080

8181

8282
def test_build_with_add_sql_interception_with_date_range_condition():
83-
start_date = "2021-03-19T05:07:00.000Z"
84-
end_date = "2021-03-25T10:00:00.000Z"
83+
start_date = "2021-02-19T05:07:00.000Z"
84+
end_date = "2021-02-25T10:00:00.000Z"
8585
time_entry_query_builder = (
8686
TimeEntryQueryBuilder()
8787
.add_sql_interception_with_date_range_condition(start_date, end_date)

0 commit comments

Comments
 (0)