Skip to content

Commit e18d245

Browse files
committed
chore: fix unit test
1 parent db8771a commit e18d245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mongo/migration_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule Mongo.MigrationTest do
66

77
test "test lock and unlock", %{pid: top} do
88
Mongo.drop_collection(top, "migrations")
9-
Patch.patch(Mongo.Migration, :get_config, fn -> [topology: top, collection: "migrations", path: "mongo/migrations", otp_app: :mongodb_driver] end)
9+
Patch.patch(Mongo.Migration, :get_config, fn _ -> [topology: top, collection: "migrations", path: "mongo/migrations", otp_app: :mongodb_driver] end)
1010
assert :locked == Migration.lock()
1111
assert {:error, :already_locked} == Migration.lock()
1212
assert :unlocked == Migration.unlock()

0 commit comments

Comments
 (0)