diff --git a/test_adapters.go b/test_adapters.go index 12e510c..1632d0d 100644 --- a/test_adapters.go +++ b/test_adapters.go @@ -3100,12 +3100,12 @@ func ModifiersTest( tt.AssertNoErr(t, err) tt.AssertNotEqual(t, taggedUser.ID, 0) - err = c.QueryOne(ctx, &taggedUser, `FROM users WHERE id = `+c.dialect.Placeholder(0), taggedUser.ID) - tt.AssertNoErr(t, err) - err = c.Insert(ctx, usersTable, &untaggedUser) tt.AssertNoErr(t, err) - tt.AssertNotEqual(t, taggedUser.ID, 0) + tt.AssertNotEqual(t, untaggedUser.ID, 0) + + err = c.QueryOne(ctx, &taggedUser, `FROM users WHERE id = `+c.dialect.Placeholder(0), taggedUser.ID) + tt.AssertNoErr(t, err) err = c.QueryOne(ctx, &untaggedUser, `FROM users WHERE id = `+c.dialect.Placeholder(0), untaggedUser.ID) tt.AssertNoErr(t, err)