From 703d0dce7fdbfdb4b2bb0ec32565c4670d049ab8 Mon Sep 17 00:00:00 2001 From: Mateusz Jenek Date: Wed, 17 Apr 2024 12:24:17 +0200 Subject: [PATCH] fix(test): expires at property has too less milliseconds digits --- internal/provider/resource_service_user_token_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/resource_service_user_token_test.go b/internal/provider/resource_service_user_token_test.go index 755b0c0..4e258d7 100644 --- a/internal/provider/resource_service_user_token_test.go +++ b/internal/provider/resource_service_user_token_test.go @@ -14,7 +14,7 @@ func TestAccResourceServiceUserToken(t *testing.T) { tokenId = "test-token-id" description = "Test token description" ) - expiresAt := time.Now().Add(24 * time.Hour).Format("2006-01-02T15:04:05.999Z") + expiresAt := time.Now().Add(24 * time.Hour).Format("2006-01-02T15:04:05Z") resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) },