Apr 10, 2023
0
Level 11
Error while running basic unit test
⨯ it can create stripe credentials 1.16s
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
FAILED Tests\Unit\CompanyStripeAccountTest > it can create stripe credentials QueryException
SQLSTATE[HY000]: General error: 1 near "drop": syntax error (Connection: sqlite, SQL: alter table "users" drop column "two_factor_secret")
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:539
535▕ if ($this->pretending()) {
536▕ return true;
537▕ }
538▕
➜ 539▕ $statement = $this->getPdo()->prepare($query);
540▕
541▕ $this->bindValues($statement, $this->prepareBindings($bindings));
542▕
543▕ $this->recordsHaveBeenModified();
+8 vendor frames
9 database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php:44
Tests: 1 failed (0 assertions)
Duration: 1.24s
Please or to participate in this conversation.