Fix the test case to avoid duplicate userId
This commit is contained in:
parent
c07f46000d
commit
aa3f5fa4f4
|
@ -416,7 +416,8 @@ describe('include', function() {
|
|||
where: {
|
||||
and: [
|
||||
{id: createdPosts[0].id},
|
||||
{userId: createdPosts[0].userId},
|
||||
// Remove the duplicate userId to avoid Cassandra failure
|
||||
// {userId: createdPosts[0].userId},
|
||||
{title: 'Post A'},
|
||||
],
|
||||
},
|
||||
|
@ -689,7 +690,8 @@ describe('include', function() {
|
|||
where: {
|
||||
and: [
|
||||
{id: createdPosts[0].id},
|
||||
{userId: createdPosts[0].userId},
|
||||
// Remove the duplicate userId to avoid Cassandra failure
|
||||
// {userId: createdPosts[0].userId},
|
||||
{title: createdPosts[0].title},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue