Skip to content

Instantly share code, notes, and snippets.

@ScreamingDev
Last active December 31, 2015 01:39
Show Gist options
  • Save ScreamingDev/7915697 to your computer and use it in GitHub Desktop.
Save ScreamingDev/7915697 to your computer and use it in GitHub Desktop.
EcomDev_PHPUnit fixtures
config:
stores/default/dev/template/allow_symlink: 1
stores/admin/dev/template/allow_symlink: 1
eav:
catalog_category:
- entity_id: 21
parent_id: 2
path: 1/2/21
name: Common
level: 2
children_count: 0
is_active: 1
/stores:
- 0
- 1
eav:
catalog_product:
- entity_id: 1
type_id: simple
sku: ps4
website_ids:
- 1
price: 12.99
status: 1 # Enabled
visibility: 4 # Catalog & Search
- entity_id: 2
type_id: simple
sku: raspberry
website_ids:
- 1
price: 13.95
status: 0 # Enabled
visibility: 4 # Catalog & Search
- entity_id: 3
type_id: simple
sku: code-x_heart_card
website_ids:
- 1
price: 0.00
status: 1 # Enabled
visibility: 4 # Catalog & Search
eav:
customer:
- entity_id: 42
website_id: 1
group_id: 1
firstname: Jane
lastname: Doe
email: [email protected]
password: password123
attribute_set_id: 0
tables:
admin/user:
-user_id: 1
firstname: John
lastname: Doe
email: [email protected]
username: jd_admin
password: 99342b37e115c217c16b295d0743784a:kz
created: 2013-10-06 23:48:04
is_active: 1
-user_id: 2
firstname: Jane
lastname: Doe
email: [email protected]
username: jad_admin
password: 99342b37e115c217c16b295d0743784a:kz
created: 2013-10-06 23:51:14
is_active: 0
admin/role:
-role_id: 1
parent_id: 0
tree_level: 1
sort_order: 1
role_type:G
user_id: 1
role_name: Administrators
admin/rule:
-rule_id: 1
role_id: 1
resource_id: all
privileges:''
assert_id: 0
role_type: G
permission: allow
tables:
sales/order:
- entity_id: 1
- entity_id: 2
- entity_id: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment