File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -343,19 +343,6 @@ public function testRenameColumn(): void
343
343
DB ::connection ()->collection ('newcollection ' )->insert (['test ' => 'value 2 ' ]);
344
344
DB ::connection ()->collection ('newcollection ' )->insert (['column ' => 'column value ' ]);
345
345
346
- $ check = DB ::connection ()->collection ('newcollection ' )->get ();
347
- $ this ->assertCount (3 , $ check );
348
-
349
- $ this ->assertArrayHasKey ('test ' , $ check [0 ]);
350
- $ this ->assertArrayNotHasKey ('newtest ' , $ check [0 ]);
351
-
352
- $ this ->assertArrayHasKey ('test ' , $ check [1 ]);
353
- $ this ->assertArrayNotHasKey ('newtest ' , $ check [1 ]);
354
-
355
- $ this ->assertArrayHasKey ('column ' , $ check [2 ]);
356
- $ this ->assertArrayNotHasKey ('test ' , $ check [2 ]);
357
- $ this ->assertArrayNotHasKey ('newtest ' , $ check [2 ]);
358
-
359
346
Schema::collection ('newcollection ' , function (Blueprint $ collection ) {
360
347
$ collection ->renameColumn ('test ' , 'newtest ' );
361
348
});
You can’t perform that action at this time.
0 commit comments