Hey all,
Hey all,
I am trying to publish an actor, but it fails through the automatic tests.
My actor expects a VAT number, and it must be valid. If it is invalid I return the 'Actor.exit()' in my code.
The automatic tests however doesn't add the VAT number and fails.
I do want the automatic tests to run, but I don't know how I can set the VAT number for the automated tests.
Currently my input_scheme.json looks something like this:
{
"title": "Input schema for Actor VIES VAT number validation",
"type": "object",
"schemaVersion": 1,
"properties": {
"country": {
"title": "Country",
"type": "string"
~
],
"enumTitles": [
"Austria",
"Belgium",
~
]
},
"vatNumber": {
"title": "VAT number",
"type": "string",
"description": "The VAT number of that specific country.",
"editor": "textfield",
"example": "NL854897276B01"
}
},
"required": [ "vatNumber" ]
}
Does anyone know how I can specify the input for the test automation? I don't want to add the "default" property to my vatNumber as I want the user always to input their own value.
I am trying to publish an actor, but it fails through the automatic tests.
My actor expects a VAT number, and it must be valid. If it is invalid I return the 'Actor.exit()' in my code.
The automatic tests however doesn't add the VAT number and fails.
I do want the automatic tests to run, but I don't know how I can set the VAT number for the automated tests.
Currently my input_scheme.json looks something like this:
{
"title": "Input schema for Actor VIES VAT number validation",
"type": "object",
"schemaVersion": 1,
"properties": {
"country": {
"title": "Country",
"type": "string"
~
],
"enumTitles": [
"Austria",
"Belgium",
~
]
},
"vatNumber": {
"title": "VAT number",
"type": "string",
"description": "The VAT number of that specific country.",
"editor": "textfield",
"example": "NL854897276B01"
}
},
"required": [ "vatNumber" ]
}
Does anyone know how I can specify the input for the test automation? I don't want to add the "default" property to my vatNumber as I want the user always to input their own value.