Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Force date format in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed May 26, 2017
1 parent a608cdd commit cdc6acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class SchemaSupport(BaseWebTest, unittest.TestCase):
"last_modified": {"type": "long"},
"build": {
"properties": {
"date": {"type": "date"},
"date": {"type": "date", "format": "strict_date"},
"id": {"type": "keyword"}
}
}
Expand Down Expand Up @@ -204,7 +204,7 @@ def test_index_has_mapping_if_collection_has_schema(self):
"last_modified": {"type": "long"},
"build": {
"properties": {
"date": {"type": "date"},
"date": {"type": "date", "format": "strict_date"},
"id": {"type": "keyword"}
}
}
Expand Down

0 comments on commit cdc6acf

Please sign in to comment.