diff --git a/form/form_for_test.go b/form/form_for_test.go index 8d9477b..c00fb19 100644 --- a/form/form_for_test.go +++ b/form/form_for_test.go @@ -1,12 +1,12 @@ package form_test import ( + "database/sql" "testing" "time" "github.com/gobuffalo/tags" "github.com/gobuffalo/tags/form" - "github.com/markbates/pop/nulls" "github.com/stretchr/testify/require" ) @@ -99,11 +99,11 @@ func Test_FormFor_NullableField(t *testing.T) { r := require.New(t) model := struct { Name string - CreditCard nulls.String - Floater nulls.Float64 - Other nulls.Bool + CreditCard nullString + Floater sql.NullFloat64 + Other sql.NullBool }{ - CreditCard: nulls.NewString("Hello"), + CreditCard: NewNullString("Hello"), } f := form.NewFormFor(model, tags.Options{}) diff --git a/form/text_area_test.go b/form/text_area_test.go index 2e14e23..7187abf 100644 --- a/form/text_area_test.go +++ b/form/text_area_test.go @@ -7,7 +7,6 @@ import ( "github.com/gobuffalo/tags" "github.com/gobuffalo/tags/form" - "github.com/markbates/pop/nulls" "github.com/stretchr/testify/require" ) @@ -33,7 +32,7 @@ func Test_Form_TextArea_nullsString_empty(t *testing.T) { r := require.New(t) f := form.New(tags.Options{}) ta := f.TextArea(tags.Options{ - "value": nulls.String{}, + "value": nullString{}, }) r.Equal(``, ta.String()) }