File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
dev/tests/setup-integration/framework/Magento/TestFramework/Annotation
lib/internal/Magento/Framework Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class DataProviderFromFile
25
25
* @var array
26
26
*/
27
27
const POSSIBLE_SUFFIXES = [
28
- SqlVersionProvider::MYSQL_8_VERSION => 'mysql8 ' ,
28
+ SqlVersionProvider::MYSQL_8_0_VERSION => 'mysql8 ' ,
29
29
SqlVersionProvider::MARIA_DB_10_VERSION => 'mariadb10 ' ,
30
30
];
31
31
Original file line number Diff line number Diff line change 12
12
/**
13
13
* Class GetDbVersion provides sql engine version requesting version variable
14
14
*
15
- * @deprecated Temporary solution which will be replaced after release of main functionality
15
+ * @deprecated First iteration of proper solution which is planning to implement soon
16
16
*/
17
17
class SqlVersionProvider
18
18
{
19
19
/**
20
- * @deprecated Temporary solution which will be replaced after release of main functionality
20
+ * @deprecated First iteration of proper solution which is planning to implement soon
21
21
*/
22
- public const MYSQL_8_VERSION = '8.0. ' ;
22
+ public const MYSQL_8_0_VERSION = '8.0. ' ;
23
23
24
24
/**
25
- * @deprecated Temporary solution which will be replaced after release of main functionality
25
+ * @deprecated First iteration of proper solution which is planning to implement soon
26
26
*/
27
- public const MYSQL_57_VERSION = '5.7. ' ;
27
+ public const MYSQL_5_7_VERSION = '5.7. ' ;
28
28
29
29
/**
30
- * @deprecated Temporary solution which will be replaced after release of main functionality
30
+ * @deprecated First iteration of proper solution which is planning to implement soon
31
31
*/
32
32
public const MARIA_DB_10_VERSION = '10. ' ;
33
33
34
34
/**
35
- * @deprecated Temporary solution which will be replaced after release of main functionality
35
+ * @deprecated First iteration of proper solution which is planning to implement soon
36
36
*/
37
37
private const VERSION_VAR_NAME = 'version ' ;
38
38
Original file line number Diff line number Diff line change @@ -116,15 +116,15 @@ public function executeDataProvider(): array
116
116
],
117
117
'MySQL-5.7 ' => [
118
118
['version ' => '5.7.29 ' ],
119
- SqlVersionProvider::MYSQL_57_VERSION ,
119
+ SqlVersionProvider::MYSQL_5_7_VERSION ,
120
120
],
121
121
'MySQL-8 ' => [
122
122
['version ' => '8.0.19 ' ],
123
- SqlVersionProvider::MYSQL_8_VERSION ,
123
+ SqlVersionProvider::MYSQL_8_0_VERSION ,
124
124
],
125
125
'Percona ' => [
126
126
['version ' => '5.7.29-32 ' ],
127
- SqlVersionProvider::MYSQL_57_VERSION ,
127
+ SqlVersionProvider::MYSQL_5_7_VERSION ,
128
128
],
129
129
];
130
130
}
You can’t perform that action at this time.
0 commit comments