parent
81cf5e0d93
commit
7125bc2d2a
@ -0,0 +1,10 @@ |
|||||||
|
-- +goose Up |
||||||
|
-- +goose StatementBegin |
||||||
|
CREATE TABLE game (id INTEGER PRIMARY KEY, |
||||||
|
slug TEXT, title TEXT, description TEXT); |
||||||
|
-- +goose StatementEnd |
||||||
|
|
||||||
|
-- +goose Down |
||||||
|
-- +goose StatementBegin |
||||||
|
DROP TABLE game; |
||||||
|
-- +goose StatementEnd |
@ -0,0 +1,15 @@ |
|||||||
|
package tests |
||||||
|
|
||||||
|
import ( |
||||||
|
"testing" |
||||||
|
// "github.com/stretchr/testify/require"
|
||||||
|
// "zedshaw.games/webapp/data"
|
||||||
|
// sq "github.com/Masterminds/squirrel"
|
||||||
|
) |
||||||
|
|
||||||
|
func TestTableListing(t *testing.T) { |
||||||
|
z, cancel := Setup(t, 2); |
||||||
|
defer cancel(); |
||||||
|
|
||||||
|
z.GoTo("/admin/table", `[data-testid="live-index-page"]`) |
||||||
|
} |
Loading…
Reference in new issue