Skip to content

Commit

Permalink
fix update
Browse files Browse the repository at this point in the history
  • Loading branch information
notshivansh authored and avneesh-akto committed Oct 27, 2023
1 parent 3ad9be9 commit bdaa0d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static void updateTestSummary(ObjectId summaryId){
long testingRunResultsCount = TestingRunResultDao.instance
.count(Filters.eq(TestingRunResult.TEST_RUN_RESULT_SUMMARY_ID, summaryId));

TestingRunResultSummariesDao.instance.updateOne(
TestingRunResultSummariesDao.instance.getMCollection().findOneAndUpdate(
Filters.eq(Constants.ID, summaryId),
Updates.set(TestingRunResultSummary.TEST_RESULTS_COUNT, testingRunResultsCount));

Expand Down

0 comments on commit bdaa0d6

Please sign in to comment.