File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,6 @@ protected function setUp(): void
9292 $ this ->mockConsoleApplication ();
9393 }
9494
95- /**
96- * Returns the database connection used for tests.
97- */
98- protected function getDb (): Connection
99- {
100- return Yii::$ app ->getDb ();
101- }
102-
10395 /**
10496 * Asserts that a list of tree nodes matches the expected order.
10597 *
@@ -387,6 +379,14 @@ protected function getDataSetMultipleTree(): array
387379 return array_values ($ dataSetMultipleTree );
388380 }
389381
382+ /**
383+ * Returns the database connection used for tests.
384+ */
385+ protected function getDb (): Connection
386+ {
387+ return Yii::$ app ->getDb ();
388+ }
389+
390390 /**
391391 * Returns a dataset containing only {@see Tree} nodes.
392392 *
You can’t perform that action at this time.
0 commit comments