Ajout d'un numero identifiable pour pouvoir reproduire une erreur de numéro invalide cote powow #1

This commit is contained in:
2021-05-04 15:33:36 +02:00
parent 91d736cc82
commit 12d61f3e89
4 changed files with 8636 additions and 176 deletions

View File

@ -28,7 +28,8 @@ type DataConfig struct {
}
type PowowConfig struct {
APIKey string `yaml:"apiKey" env:"FAKESMS_POWOW_API_KEY"`
APIKey string `yaml:"apiKey" env:"FAKESMS_POWOW_API_KEY"`
InvalidPhoneNumber string `yaml:"invalidPhoneNumber" env:"FAKESMS_POWOW_INVALID_PHONE_NUMBER"`
}
type PowowSMS struct {
@ -78,7 +79,8 @@ func NewDefault() *Config {
Path: "fakesms.db",
},
Powow: PowowConfig{
APIKey: "powow",
APIKey: "powow",
InvalidPhoneNumber: "33666666666",
},
}
}