boy scout: contact tests
This commit is contained in:
parent
79d69a9286
commit
c671701071
1 changed files with 18 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ models:
|
|||
- name: id_contact
|
||||
data_type: character varying
|
||||
description: Xero's unique identifier for the contact.
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: account_number
|
||||
data_type: character varying
|
||||
|
|
@ -18,14 +21,29 @@ models:
|
|||
- name: contact_name
|
||||
data_type: character varying
|
||||
description: The name for the customer.
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: is_customer
|
||||
data_type: boolean
|
||||
description: Flag that shows if the contact is a Superhog customer.
|
||||
tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- true
|
||||
- false
|
||||
|
||||
- name: is_supplier
|
||||
data_type: boolean
|
||||
description: Flag that shows if the contact is a Superhog supplier.
|
||||
tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- true
|
||||
- false
|
||||
|
||||
- name: tax_number
|
||||
data_type: character varying
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue