From bcf1fcbe5f27e212b2586b1f7d67f4c8e54f5ce1 Mon Sep 17 00:00:00 2001 From: kirill Date: Thu, 16 Oct 2025 20:24:44 +0300 Subject: [PATCH] Fix empty data in db field auth_token_expires_in --- .../Bitrix24Accounts/Builders/Bitrix24AccountBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Functional/Bitrix24Accounts/Builders/Bitrix24AccountBuilder.php b/tests/Functional/Bitrix24Accounts/Builders/Bitrix24AccountBuilder.php index 77b6bed..a571be6 100644 --- a/tests/Functional/Bitrix24Accounts/Builders/Bitrix24AccountBuilder.php +++ b/tests/Functional/Bitrix24Accounts/Builders/Bitrix24AccountBuilder.php @@ -56,7 +56,7 @@ public function __construct() $this->isBitrix24UserAdmin = true; $this->memberId = Uuid::v4()->toRfc4122(); $this->domainUrl = Uuid::v4()->toRfc4122().'-example.com'; - $this->authToken = new AuthToken('old_1', 'old_2', 3600); + $this->authToken = new AuthToken('old_1', 'old_2', 3600,time() + 60 * 60 * 24); $this->applicationVersion = 1; $this->applicationScope = new Scope(); }