diff --git a/elasticmock/fake_elasticsearch.py b/elasticmock/fake_elasticsearch.py index de1e0ee..4dab154 100644 --- a/elasticmock/fake_elasticsearch.py +++ b/elasticmock/fake_elasticsearch.py @@ -227,7 +227,7 @@ def scroll(self, scroll_id, params=None): @query_params('consistency', 'parent', 'refresh', 'replication', 'routing', 'timeout', 'version', 'version_type') - def delete(self, index, doc_type, id, params=None): + def delete(self, index, id, doc_type="_doc", params=None): found = False