Skip to content

Commit 5bd9dab

Browse files
Aleksey Solonenkoaivus
authored andcommitted
CRM-7855: Failed tests on master related to Opportunity feature (#8048)
- fix failed tests
1 parent 57ffe22 commit 5bd9dab

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Oro/Bundle/SalesBundle/Tests/Functional/Fixture/LoadOpportunityByStatusWidgetFixture.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ protected function createOpportunities()
3030
//insert one opportunity for previous months
3131
$createdAt = new \DateTime('now', new \DateTimeZone('UTC'));
3232
$this->createOpportunity($createdAt, ++$i);
33-
$createdAt->sub(new \DateInterval('P2M'));
34-
$this->createOpportunity($createdAt, ++$i);
3533
}
3634

3735
public function createOpportunity($createdAt, $id)

src/Oro/Bundle/SalesBundle/Tests/Functional/Widget/OpportunityByStatusTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function widgetProvider()
106106
'opportunities_by_state[dateRange][type]' => AbstractDateFilterType::TYPE_ALL_TIME,
107107
'opportunities_by_state[useQuantityAsData]' => 1
108108
],
109-
'expectedResultCount' => 5
109+
'expectedResultCount' => 4
110110
],
111111
],
112112
];

0 commit comments

Comments
 (0)