3 namespace Tests\Commands;
7 class UpgradeDatabaseEncodingCommandTest extends TestCase
9 public function test_command_outputs_sql()
11 $this->artisan('bookstack:db-utf8mb4')
12 ->expectsOutputToContain('ALTER DATABASE')
13 ->expectsOutputToContain('ALTER TABLE `users` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;');