From 5b2575b75492cdd6ad47b41b2639a92d0edcd299 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Mon, 4 Dec 2023 18:09:29 +0200 Subject: [PATCH] [#3877] fixed test messages typo --- pocketbase_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pocketbase_test.go b/pocketbase_test.go index 492c745f..8ccc65c5 100644 --- a/pocketbase_test.go +++ b/pocketbase_test.go @@ -45,7 +45,7 @@ func TestNew(t *testing.T) { } if app.EncryptionEnv() != "test_encryption_env" { - t.Fatalf("Expected app.DataDir() test_encryption_env, got %q", app.EncryptionEnv()) + t.Fatalf("Expected app.EncryptionEnv() test_encryption_env, got %q", app.EncryptionEnv()) } } @@ -77,7 +77,7 @@ func TestNewWithConfig(t *testing.T) { } if app.EncryptionEnv() != "test_encryption_env" { - t.Fatalf("Expected app.DataDir() %q, got %q", "test_encryption_env", app.EncryptionEnv()) + t.Fatalf("Expected app.EncryptionEnv() %q, got %q", "test_encryption_env", app.EncryptionEnv()) } } @@ -126,7 +126,7 @@ func TestNewWithConfigAndFlags(t *testing.T) { } if app.EncryptionEnv() != "test_encryption_env_flag" { - t.Fatalf("Expected app.DataDir() %q, got %q", "test_encryption_env_flag", app.EncryptionEnv()) + t.Fatalf("Expected app.EncryptionEnv() %q, got %q", "test_encryption_env_flag", app.EncryptionEnv()) } }