Magento EcomDev PHPUnit Customer fixtures are not being loaded -


i have case want check if customer exists in database. have created fixture file this:

scope:   website:     - website_id: 1       code: main       name: main website       default_group_id: 1   group:     - group_id: 1       website_id: 1       name: main website store       root_category_id: 8       default_store_id: 1   store:     - store_id: 1       code: default       website_id: 1       group_id: 1       name: default store view       is_active: 1 eav:   customer:     - entity_id: 13       entity_type_id: 1       website_id: 1       email: example@example.com       group_id: 1       store_id: 1       is_active: 1       firstname: john       lastname: smith 

when run test, error:

zend_db_statement_exception: sqlstate[23000]: integrity constraint violation: 1052 column 'sort_order' in order clause ambiguous 

this error occurs when load fixture, think has model_fixture_eav class. not sure methods should implement create eav model customers. has managed import customer fixtures before?

 eav:     customer:         - entity_id: 13           entity_type_id: 1           attribute_set_id: 0           website_id: 1           email: example@example.com           group_id: 1           store_id: 1           is_active: 1           firstname: john           lastname: smith 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -