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()) } }