File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/Integration/Service/Generator/Definition Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ public function testGenerateResultShouldWork(): array
4444 }
4545
4646 /**
47- * @param array $result
47+ * @param array $result
4848 */
4949 #[Depends('testGenerateResultShouldWork ' )]
5050 public function testIndexWorks (array $ result ): void
5151 {
5252 /**
5353 * @var IndexEntity $index
5454 */
55- $ index = $ result [' testi ' ];
55+ $ index = $ result [1 ];
5656 $ this ->assertEquals ('index ' , $ index ->getType ());
5757 $ this ->assertEquals ('testi ' , $ index ->getName ());
5858 $ this ->assertEquals (
@@ -64,15 +64,15 @@ public function testIndexWorks(array $result): void
6464 }
6565
6666 /**
67- * @param array $result
67+ * @param array $result
6868 */
6969 #[Depends('testGenerateResultShouldWork ' )]
7070 public function testUniqueIndexWorks (array $ result ): void
7171 {
7272 /**
7373 * @var IndexEntity $index
7474 */
75- $ index = $ result [' fields_test_medium_int_unique ' ];
75+ $ index = $ result [0 ];
7676 $ this ->assertEquals ('unique ' , $ index ->getType ());
7777 $ this ->assertEquals (
7878 [
You can’t perform that action at this time.
0 commit comments