Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar committed Nov 28, 2024
1 parent b82103d commit 986b5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion aggregator/db/dbstorage/proof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package dbstorage
import (
"context"
"math"
"path"
"testing"
"time"

Expand All @@ -19,7 +20,7 @@ var (
)

func Test_Proof(t *testing.T) {
dbPath := "file::memory:?cache=shared"
dbPath := path.Join(t.TempDir(), "Test_Proof.sqlite")
err := db.RunMigrationsUp(dbPath, db.AggregatorMigrationName)
assert.NoError(t, err)

Expand Down
3 changes: 2 additions & 1 deletion aggregator/db/migrations_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package db

import (
"path"
"testing"

migrate "github.com/rubenv/sql-migrate"
Expand All @@ -18,7 +19,7 @@ func Test_checkMigrations(t *testing.T) {
}

func Test_runMigrations(t *testing.T) {
dbPath := "file::memory:?cache=shared"
dbPath := path.Join(t.TempDir(), "Test_runMigrations.sqlite")
err := runMigrations(dbPath, AggregatorMigrationName, migrate.Up)
assert.NoError(t, err)

Expand Down

0 comments on commit 986b5a3

Please sign in to comment.