Skip to content

Commit

Permalink
fix: remove useless files and small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
FilippoTrotter committed Jan 17, 2025
1 parent 10df4ef commit 1a14ed2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ docs/.vitepress/cache/
pb.env
/didimo
didimo-ui
/.vscode
/.vscode
/fixtures/test_pb_data/auxiliary.db
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/internal/pb/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (C) 2022-2023 Dyne.org foundation <foundation@dyne.org>.
// Copyright (C) 2025 The Forkbomb Company
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion pkg/routes/routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/pocketbase/pocketbase/tests"
)

const testDataDir = "./../../testdata/test_pb_data"
const testDataDir = "./../../fixtures/test_pb_data"

func generateToken(collectionNameOrId string, email string) (string, error) {

Check warning on line 14 in pkg/routes/routes_test.go

View workflow job for this annotation

GitHub Actions / Lint

func parameter collectionNameOrId should be collectionNameOrID
app, err := tests.NewTestApp(testDataDir)
Expand Down
Binary file removed testdata/test_pb_data/auxiliary.db
Binary file not shown.

0 comments on commit 1a14ed2

Please sign in to comment.