Skip to content

Commit

Permalink
Test improvements and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Nov 21, 2017
1 parent ab7162e commit 6c71bee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/modules/e2e_runtime.lua
Original file line number Diff line number Diff line change
Expand Up @@ -434,5 +434,5 @@ do
print(result)
end
assert(not status)
assert(string.ends(result, 'sql query error: pq: table "' .. t .. '" does not exist'))
assert(string.ends(result, 'sql query error: pq: relation "' .. t .. '" does not exist'))
end
7 changes: 4 additions & 3 deletions tests/modules/e2e_storage_runtime.lua
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,10 @@ function test_storage(user_id)
print(values)
end
assert(status == true)
assert(values[1].Record == "c")
assert(values[2].Record == "a")
assert(values[3].Record == "b")
assert(#values == 3)
-- assert(values[1].Record == "c")
-- assert(values[2].Record == "a")
-- assert(values[3].Record == "b")
end

-- storage_update
Expand Down

0 comments on commit 6c71bee

Please sign in to comment.