fix variable reference in BadPacket test
This commit is contained in:
parent
61aeea31b2
commit
304931d7fe
1 changed files with 2 additions and 2 deletions
|
|
@ -124,10 +124,10 @@ defmodule Aprs.BadPacketTest do
|
||||||
|
|
||||||
test "default limit is 100" do
|
test "default limit is 100" do
|
||||||
# Test that default limit is applied correctly
|
# Test that default limit is applied correctly
|
||||||
_query = BadPacket.recent()
|
query = BadPacket.recent()
|
||||||
|
|
||||||
# Check the query structure contains limit
|
# Check the query structure contains limit
|
||||||
_query = BadPacket.recent()
|
query = BadPacket.recent()
|
||||||
result = Repo.all(query)
|
result = Repo.all(query)
|
||||||
# Verify the query works and the default limit is reasonable
|
# Verify the query works and the default limit is reasonable
|
||||||
assert is_struct(query, Ecto.Query)
|
assert is_struct(query, Ecto.Query)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue