mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 21:23:43 +08:00
867bc3b48e
Also add a spec and fixture with a mock importer that we can use to test the create_X methods of the base importer
58 lines
924 B
JSON
58 lines
924 B
JSON
{
|
|
"bookmarks":[
|
|
{
|
|
"post_id":10,
|
|
"user_id":20
|
|
},
|
|
{
|
|
"post_id":11,
|
|
"user_id":20
|
|
},
|
|
{
|
|
"post_id":12,
|
|
"user_id":20
|
|
},
|
|
{
|
|
"post_id":13,
|
|
"user_id":20
|
|
},
|
|
{
|
|
"post_id":14,
|
|
"user_id":20
|
|
}
|
|
],
|
|
"posts":[
|
|
{
|
|
"user_id":20,
|
|
"id":10,
|
|
"raw":"This is test post 1"
|
|
},
|
|
{
|
|
"user_id":20,
|
|
"id":11,
|
|
"raw":"This is test post 2"
|
|
},
|
|
{
|
|
"user_id":20,
|
|
"id":12,
|
|
"raw":"This is test post 3"
|
|
},
|
|
{
|
|
"user_id":20,
|
|
"id":13,
|
|
"raw":"This is test post 4"
|
|
},
|
|
{
|
|
"user_id":20,
|
|
"id":14,
|
|
"raw":"This is test post 5"
|
|
}
|
|
],
|
|
"users":[
|
|
{
|
|
"id":20,
|
|
"email":"testimportuser@test.com"
|
|
}
|
|
]
|
|
}
|