also convert to string in attachments, pagenation
This commit is contained in:
parent
e03b8ccefb
commit
730317321a
7 changed files with 50 additions and 50 deletions
|
@ -534,7 +534,7 @@ func TestUploadMedia(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("should not be fail: %v", err)
|
||||
}
|
||||
if attachment.ID != 123 {
|
||||
t.Fatalf("want %q but %q", 123, attachment.ID)
|
||||
if attachment.ID != "123" {
|
||||
t.Fatalf("want %q but %q", "123", attachment.ID)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue