Fix the test case to avoid duplicate userId

This commit is contained in:
Tetsuo Seto 2017-05-13 13:45:28 -07:00
parent c07f46000d
commit aa3f5fa4f4
1 changed files with 4 additions and 2 deletions

View File

@ -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},
],
},