Skip to content

Commit 1a7dcad

Browse files
authored
Merge pull request #2240 from RedisInsight/bugfix/ws_new_recommendation_test
fix disabled field for recommendation
2 parents 085173a + 1e21a32 commit 1a7dcad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

redisinsight/api/test/api/database-recommendations/WS-new-recommendations.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ describe('WS new recommendations', () => {
5050
expect(recommendationsResponse.recommendations[0].name).to.eq('bigSets');
5151
expect(recommendationsResponse.recommendations[0].databaseId).to.eq(constants.TEST_INSTANCE_ID);
5252
expect(recommendationsResponse.recommendations[0].read).to.eq(false);
53-
// expect(recommendationsResponse.recommendations[0].disabled).to.eq(false);
54-
// todo: investigate if it should return false vs undefined
55-
expect(recommendationsResponse.recommendations[0].disabled).to.eq(undefined);
53+
expect(recommendationsResponse.recommendations[0].disabled).to.eq(false);
5654
expect(recommendationsResponse.totalUnread).to.eq(1);
5755
});
5856
});

0 commit comments

Comments
 (0)