Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Prevent the customers fixture from overwriting the admin account
Patryk Zawadzki85340480b8e8
diff --git a/tests/cassettes/test_dashboard_search_orders_by_user.yaml b/tests/cassettes/test_dashboard_search_orders_by_user.yamlindex f696bf9baf..abccb94a65 100644--- a/tests/cassettes/test_dashboard_search_orders_by_user.yaml+++ b/tests/cassettes/test_dashboard_search_orders_by_user.yaml@@ -41,11 +41,11 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":5.115776,"hits":[{"_index":"users","_type":"doc","_id":"17","_score":5.115776,"_source":{}}]}}'}+ body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":5.115776,"hits":[{"_index":"users","_type":"doc","_id":"117","_score":5.115776,"_source":{}}]}}'}headers:Warning: ['299 Elasticsearch-5.4.3-eed30a8 "Deprecated field [exclude] used,expected [excludes] instead" "Thu, 16 Nov 2017 09:44:26 GMT"']- content-length: ['210']+ content-length: ['211']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}version: 1diff --git a/tests/cassettes/test_dashboard_search_orders_by_user_email.yaml b/tests/cassettes/test_dashboard_search_orders_by_user_email.yamlindex 778cdc004c..77f315ae8c 100644--- a/tests/cassettes/test_dashboard_search_orders_by_user_email.yaml+++ b/tests/cassettes/test_dashboard_search_orders_by_user_email.yaml@@ -24,9 +24,9 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":5.1992044,"hits":[{"_index":"users","_type":"doc","_id":"2","_score":5.1992044,"_source":{}}]}}'}+ body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":5.1992044,"hits":[{"_index":"users","_type":"doc","_id":"102","_score":5.1992044,"_source":{}}]}}'}headers:- content-length: ['211']+ content-length: ['213']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}- request:diff --git a/tests/cassettes/test_dashboard_search_orders_by_user_name.yaml b/tests/cassettes/test_dashboard_search_orders_by_user_name.yamlindex 9d4fa15bf2..917dbe74f1 100644--- a/tests/cassettes/test_dashboard_search_orders_by_user_name.yaml+++ b/tests/cassettes/test_dashboard_search_orders_by_user_name.yaml@@ -24,9 +24,9 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.7725887,"hits":[{"_index":"users","_type":"doc","_id":"2","_score":2.7725887,"_source":{}}]}}'}+ body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.7725887,"hits":[{"_index":"users","_type":"doc","_id":"102","_score":2.7725887,"_source":{}}]}}'}headers:- content-length: ['211']+ content-length: ['213']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}- request:diff --git a/tests/cassettes/test_dashboard_search_orders_by_user_name_without_address.yaml b/tests/cassettes/test_dashboard_search_orders_by_user_name_without_address.yamlindex b744f96040..0d2b56048f 100644--- a/tests/cassettes/test_dashboard_search_orders_by_user_name_without_address.yaml+++ b/tests/cassettes/test_dashboard_search_orders_by_user_name_without_address.yaml@@ -24,9 +24,9 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.261763,"hits":[{"_index":"users","_type":"doc","_id":"17","_score":2.261763,"_source":{}}]}}'}+ body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.261763,"hits":[{"_index":"users","_type":"doc","_id":"117","_score":2.261763,"_source":{}}]}}'}headers:- content-length: ['210']+ content-length: ['211']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}- request:diff --git a/tests/cassettes/test_dashboard_search_user_by_email.yaml b/tests/cassettes/test_dashboard_search_user_by_email.yamlindex 9151c65482..2375af9196 100644--- a/tests/cassettes/test_dashboard_search_user_by_email.yaml+++ b/tests/cassettes/test_dashboard_search_user_by_email.yaml@@ -41,11 +41,11 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":3,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":5.115776,"hits":[{"_index":"users","_type":"doc","_id":"9","_score":5.115776,"_source":{}}]}}'}+ body: {string: '{"took":3,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":5.115776,"hits":[{"_index":"users","_type":"doc","_id":"109","_score":5.115776,"_source":{}}]}}'}headers:Warning: ['299 Elasticsearch-5.4.3-eed30a8 "Deprecated field [exclude] used,expected [excludes] instead" "Thu, 16 Nov 2017 09:44:26 GMT"']- content-length: ['209']+ content-length: ['211']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}version: 1diff --git a/tests/cassettes/test_dashboard_search_user_name.yaml b/tests/cassettes/test_dashboard_search_user_name.yamlindex cd8a1004ec..c916f959e8 100644--- a/tests/cassettes/test_dashboard_search_user_name.yaml+++ b/tests/cassettes/test_dashboard_search_user_name.yaml@@ -41,11 +41,11 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.6855774,"hits":[{"_index":"users","_type":"doc","_id":"6","_score":2.6855774,"_source":{}}]}}'}+ body: {string: '{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.6855774,"hits":[{"_index":"users","_type":"doc","_id":"106","_score":2.6855774,"_source":{}}]}}'}headers:Warning: ['299 Elasticsearch-5.4.3-eed30a8 "Deprecated field [exclude] used,expected [excludes] instead" "Thu, 16 Nov 2017 09:37:53 GMT"']- content-length: ['211']+ content-length: ['213']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}version: 1diff --git a/tests/cassettes/test_dashboard_search_user_name_without_address.yaml b/tests/cassettes/test_dashboard_search_user_name_without_address.yamlindex 71c3043442..2f1d4c5189 100644--- a/tests/cassettes/test_dashboard_search_user_name_without_address.yaml+++ b/tests/cassettes/test_dashboard_search_user_name_without_address.yaml@@ -24,9 +24,9 @@ interactions:method: GETuri: http://search:9200/users/doc/_searchresponse:- body: {string: '{"took":23,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.730029,"hits":[{"_index":"users","_type":"doc","_id":"22","_score":2.730029,"_source":{}}]}}'}+ body: {string: '{"took":23,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":2.730029,"hits":[{"_index":"users","_type":"doc","_id":"122","_score":2.730029,"_source":{}}]}}'}headers:- content-length: ['211']+ content-length: ['212']content-type: [application/json; charset=UTF-8]status: {code: 200, message: OK}- request:diff --git a/tests/test_elasticsearch.py b/tests/test_elasticsearch.pyindex 4f87874a23..7d3c8a6ee8 100644--- a/tests/test_elasticsearch.py+++ b/tests/test_elasticsearch.py@@ -137,12 +137,12 @@ EXISTING_NAME = 'Rhonda'EXISTING_NAME_FULL = '[email protected]'EXISTING_NAME_WITHOUT_ADDRESS = 'Brett'EXISTING_NAME_FULL_WITHOUT_ADDRESS = '[email protected]'-USERS = {EXISTING_EMAIL: 9,+USERS = {EXISTING_EMAIL: 109,NON_EXISTING_EMAIL: 870,- USER_EMAIL_WITH_ORDER: 2,- USER_EMAIL_WITH_ORDER_WITHOUT_ADDRES: 17,- EXISTING_NAME_FULL: 6,- EXISTING_NAME_FULL_WITHOUT_ADDRESS: 22}+ USER_EMAIL_WITH_ORDER: 102,+ USER_EMAIL_WITH_ORDER_WITHOUT_ADDRES: 117,+ EXISTING_NAME_FULL: 106,+ EXISTING_NAME_FULL_WITHOUT_ADDRESS: 122}ORDERS = {USER_EMAIL_WITH_ORDER: {11, 17},USER_EMAIL_WITH_ORDER_WITHOUT_ADDRES: {15}}