File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
dev/tests/integration/testsuite/Magento/Framework/Search/Adapter/Mysql Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,6 @@ class AdapterTest extends \PHPUnit_Framework_TestCase
33
33
*/
34
34
protected $ objectManager ;
35
35
36
- /**
37
- * @var string
38
- */
39
- protected $ requestConfig = __DIR__ . '/../../_files/requests.xml ' ;
40
-
41
36
/**
42
37
* @var string
43
38
*/
@@ -51,7 +46,7 @@ protected function setUp()
51
46
$ converter = $ this ->objectManager ->create ('Magento\Framework\Search\Request\Config\Converter ' );
52
47
53
48
$ document = new \DOMDocument ();
54
- $ document ->load ($ this ->requestConfig );
49
+ $ document ->load ($ this ->getRequestConfigPath () );
55
50
$ requestConfig = $ converter ->convert ($ document );
56
51
57
52
/** @var \Magento\Framework\Search\Request\Config $config */
@@ -66,6 +61,16 @@ protected function setUp()
66
61
$ this ->adapter = $ this ->createAdapter ();
67
62
}
68
63
64
+ /**
65
+ * Get request config path
66
+ *
67
+ * @return string
68
+ */
69
+ protected function getRequestConfigPath ()
70
+ {
71
+ return __DIR__ . '/../../_files/requests.xml ' ;
72
+ }
73
+
69
74
/**
70
75
* Make sure that correct engine is set
71
76
*/
You can’t perform that action at this time.
0 commit comments