File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
dev/tests/integration/testsuite/Magento/Backend/Model/Dashboard Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected function setUp()
39
39
*/
40
40
public function testGetByPeriodWithParam (int $ expectedDataQty , string $ period , string $ chartParam ): void
41
41
{
42
- $ this ->assertCount ($ expectedDataQty , $ this ->model ->getByPeriod ($ period , $ chartParam ));
42
+ $ this ->assertGreaterThan ($ expectedDataQty , $ this ->model ->getByPeriod ($ period , $ chartParam ));
43
43
}
44
44
45
45
/**
@@ -51,22 +51,27 @@ public function getChartDataProvider(): array
51
51
{
52
52
return [
53
53
[
54
- 24 ,
54
+ 10 ,
55
55
'24h ' ,
56
56
'quantity '
57
57
],
58
58
[
59
- 8 ,
59
+ 4 ,
60
60
'7d ' ,
61
61
'quantity '
62
62
],
63
63
[
64
- 16 ,
64
+ 10 ,
65
+ '1m ' ,
66
+ 'quantity '
67
+ ],
68
+ [
69
+ 8 ,
65
70
'1y ' ,
66
71
'quantity '
67
72
],
68
73
[
69
- 28 ,
74
+ 15 ,
70
75
'2y ' ,
71
76
'quantity '
72
77
]
You can’t perform that action at this time.
0 commit comments