This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
dev/tests/setup-integration
Magento/TestFramework/TestCase Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11
11
/**
12
12
* Instance of Setup test case. Used in order to tweak dataProviders functionality.
13
13
*/
14
- class SetupTestCase extends \PHPUnit_Framework_TestCase implements MutableDataInterface
14
+ class SetupTestCase extends \PHPUnit \ Framework \TestCase implements MutableDataInterface
15
15
{
16
16
/**
17
17
* @var array
Original file line number Diff line number Diff line change 74
74
new \Magento \TestFramework \Bootstrap \MemoryFactory ($ shell )
75
75
);
76
76
$ bootstrap ->runBootstrap ();
77
- if ($ settings ->getAsBoolean ('TESTS_CLEANUP ' )) {
78
- $ application ->cleanup ();
79
- //remove test modules files
80
- include_once __DIR__ . '/../../setup-integration/framework/removeTestModules.php ' ;
81
- }
77
+ $ application ->cleanup ();
78
+ //remove test modules files
79
+ include_once __DIR__ . '/../../setup-integration/framework/removeTestModules.php ' ;
82
80
//We do not want to install anything
83
81
$ application ->initialize ([]);
84
82
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ public function testInstallationWithColumnsModification()
109
109
$ this ->schemaConfig ->getDeclarationConfig (),
110
110
$ this ->schemaConfig ->getDbConfig ()
111
111
);
112
- $ this -> assertNull ($ diff ->getAll ());
112
+ self :: assertNull ($ diff ->getAll ());
113
113
$ shardData = $ this ->describeTable ->describeShard (Sharding::DEFAULT_CONNECTION );
114
- $ this -> assertEquals ($ this ->getData (), $ shardData );
114
+ self :: assertEquals ($ this ->getData (), $ shardData );
115
115
}
116
116
117
117
/**
You can’t perform that action at this time.
0 commit comments