mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Add fixtures
This commit is contained in:
parent
9eacfaddcc
commit
d04eb36db2
2 changed files with 26 additions and 0 deletions
10
test/fixtures/registrars.yml
vendored
Normal file
10
test/fixtures/registrars.yml
vendored
Normal 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
16
test/fixtures/users.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue