Skip to content

Commit f343bd1

Browse files
committed
Updated values in fields for tests
1 parent 312fb35 commit f343bd1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎github/repos_prereceive_hooks_test.go‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,16 +200,16 @@ func TestPreReceiveHook_Marshal(t *testing.T) {
200200

201201
u := &PreReceiveHook{
202202
ID: Int64(1),
203-
Name: String("ct"),
204-
Enforcement: String("ct"),
205-
ConfigURL: String("ct"),
203+
Name: String("name"),
204+
Enforcement: String("e"),
205+
ConfigURL: String("curl"),
206206
}
207207

208208
want := `{
209209
"id": 1,
210-
"name": "ct",
211-
"enforcement": "ct",
212-
"configuration_url": "ct"
210+
"name": "name",
211+
"enforcement": "e",
212+
"configuration_url": "curl"
213213
}`
214214

215215
testJSONMarshal(t, u, want)

0 commit comments

Comments
 (0)