Add fixtures

This commit is contained in:
Artur Beljajev 2017-11-22 04:16:33 +02:00
parent 9eacfaddcc
commit d04eb36db2
2 changed files with 26 additions and 0 deletions

10
test/fixtures/registrars.yml vendored Normal file
View file

@ -0,0 +1,10 @@
DEFAULTS: &DEFAULTS
name: Acme Ltd
reg_no: 1234
country_code: US
email: acme@example.com
code: 1234
accounting_customer_code: C1
valid:
<<: *DEFAULTS

16
test/fixtures/users.yml vendored Normal file
View file

@ -0,0 +1,16 @@
DEFAULTS: &DEFAULTS
username: test
api:
<<: *DEFAULTS
type: ApiUser
registrar: valid
roles:
- super
admin:
<<: *DEFAULTS
type: AdminUser
country_code: US
roles:
- admin