unique to ID::unique
This commit is contained in:
parent
abab68f1a1
commit
80a19f9862
|
@ -3,6 +3,7 @@
|
|||
namespace Tests\E2E\Services\Messaging;
|
||||
|
||||
use Tests\E2E\Client;
|
||||
use Utopia\Database\Helpers\ID;
|
||||
|
||||
trait MessagingBase
|
||||
{
|
||||
|
@ -10,55 +11,55 @@ trait MessagingBase
|
|||
{
|
||||
$providersParams = [
|
||||
'sendgrid' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Sengrid1',
|
||||
'apiKey' => 'my-apikey',
|
||||
],
|
||||
'mailgun' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Mailgun1',
|
||||
'apiKey' => 'my-apikey',
|
||||
'domain' => 'my-domain',
|
||||
'from' => 'sender-email@my-domain',
|
||||
],
|
||||
'twilio' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Twilio1',
|
||||
'accountSid' => 'my-accountSid',
|
||||
'authToken' => 'my-authToken',
|
||||
],
|
||||
'telesign' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Telesign1',
|
||||
'username' => 'my-username',
|
||||
'password' => 'my-password',
|
||||
],
|
||||
'textmagic' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Textmagic1',
|
||||
'username' => 'my-username',
|
||||
'apiKey' => 'my-apikey',
|
||||
],
|
||||
'msg91' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Ms91-1',
|
||||
'senderId' => 'my-senderid',
|
||||
'authKey' => 'my-authkey',
|
||||
'from' => '+123456789'
|
||||
],
|
||||
'vonage' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'Vonage1',
|
||||
'apiKey' => 'my-apikey',
|
||||
'apiSecret' => 'my-apisecret',
|
||||
],
|
||||
'fcm' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'FCM1',
|
||||
'serverKey' => 'my-serverkey',
|
||||
],
|
||||
'apns' => [
|
||||
'providerId' => 'unique()',
|
||||
'providerId' => ID::unique(),
|
||||
'name' => 'APNS1',
|
||||
'authKey' => 'my-authkey',
|
||||
'authKeyId' => 'my-authkeyid',
|
||||
|
|
Loading…
Reference in a new issue