| 1113 | } |
| 1114 | |
| 1115 | func TestMigration_String(t *testing.T) { |
| 1116 | t.Parallel() |
| 1117 | v := Migration{ |
| 1118 | ID: Ptr(int64(0)), |
| 1119 | GUID: Ptr(""), |
| 1120 | State: Ptr(""), |
| 1121 | LockRepositories: Ptr(false), |
| 1122 | ExcludeAttachments: Ptr(false), |
| 1123 | URL: Ptr(""), |
| 1124 | CreatedAt: Ptr(""), |
| 1125 | UpdatedAt: Ptr(""), |
| 1126 | } |
| 1127 | want := `github.Migration{ID:0, GUID:"", State:"", LockRepositories:false, ExcludeAttachments:false, URL:"", CreatedAt:"", UpdatedAt:""}` |
| 1128 | if got := v.String(); got != want { |
| 1129 | t.Errorf("Migration.String = %v, want %v", got, want) |
| 1130 | } |
| 1131 | } |
| 1132 | |
| 1133 | func TestMilestone_String(t *testing.T) { |
| 1134 | t.Parallel() |