@@ -846,7 +846,7 @@ func TestNullableAttr_Time(t *testing.T) {
846846 desc : "time_null" ,
847847 input : & WithNullableAttrs {
848848 ID : 5 ,
849- RFC3339Time : NullTime (),
849+ RFC3339Time : NewNullNullableAttr [time. Time ] (),
850850 },
851851 verification : func (root map [string ]interface {}) error {
852852 v := root ["data" ].(map [string ]interface {})["attributes" ].(map [string ]interface {})["rfc3339_time" ]
@@ -860,7 +860,7 @@ func TestNullableAttr_Time(t *testing.T) {
860860 desc : "time_not_null_rfc3339" ,
861861 input : & WithNullableAttrs {
862862 ID : 5 ,
863- RFC3339Time : NullableTime (aTime ),
863+ RFC3339Time : NewNullableAttrWithValue [time. Time ] (aTime ),
864864 },
865865 verification : func (root map [string ]interface {}) error {
866866 v := root ["data" ].(map [string ]interface {})["attributes" ].(map [string ]interface {})["rfc3339_time" ].(string )
@@ -874,7 +874,7 @@ func TestNullableAttr_Time(t *testing.T) {
874874 desc : "time_not_null_iso8601" ,
875875 input : & WithNullableAttrs {
876876 ID : 5 ,
877- ISO8601Time : NullableTime (aTime ),
877+ ISO8601Time : NewNullableAttrWithValue [time. Time ] (aTime ),
878878 },
879879 verification : func (root map [string ]interface {}) error {
880880 v := root ["data" ].(map [string ]interface {})["attributes" ].(map [string ]interface {})["iso8601_time" ].(string )
@@ -888,7 +888,7 @@ func TestNullableAttr_Time(t *testing.T) {
888888 desc : "time_not_null_int" ,
889889 input : & WithNullableAttrs {
890890 ID : 5 ,
891- IntTime : NullableTime (aTime ),
891+ IntTime : NewNullableAttrWithValue [time. Time ] (aTime ),
892892 },
893893 verification : func (root map [string ]interface {}) error {
894894 v := root ["data" ].(map [string ]interface {})["attributes" ].(map [string ]interface {})["int_time" ].(float64 )
@@ -941,7 +941,7 @@ func TestNullableAttr_Bool(t *testing.T) {
941941 desc : "bool_null" ,
942942 input : & WithNullableAttrs {
943943 ID : 5 ,
944- Bool : NullBool (),
944+ Bool : NewNullNullableAttr [ bool ] (),
945945 },
946946 verification : func (root map [string ]interface {}) error {
947947 v := root ["data" ].(map [string ]interface {})["attributes" ].(map [string ]interface {})["bool" ]
@@ -955,7 +955,7 @@ func TestNullableAttr_Bool(t *testing.T) {
955955 desc : "bool_not_null" ,
956956 input : & WithNullableAttrs {
957957 ID : 5 ,
958- Bool : NullableBool (aBool ),
958+ Bool : NewNullableAttrWithValue [ bool ] (aBool ),
959959 },
960960 verification : func (root map [string ]interface {}) error {
961961 v := root ["data" ].(map [string ]interface {})["attributes" ].(map [string ]interface {})["bool" ].(bool )
0 commit comments