Skip to content

ErrorException: Undefined array key "driver" #50

@amotl

Description

@amotl

Dear Ratko,

it's while ago since we submitted the last little patches here. Thanks a stack for maintaining the package!

When trying GH-49, we just observed this error when trying to run the test suite, and haven't been able to quickly figure out why this fails, otherwise we would have submitted a pull request.

1) DataTests\DataTest::it_adds_a_new_user
ErrorException: Undefined array key "driver"

/path/to/laravel-crate.io/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/HandlesDatabases.php:84
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/InteractsWithMigrations.php:34
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/Testing.php:163
/path/to/laravel-crate.io/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php:240
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/Testing.php:160
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/TestCase.php:73
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/Testing.php:45
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/ApplicationTestingHooks.php:87
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/Testing.php:44
/path/to/laravel-crate.io/vendor/laravel/framework/src/Illuminate/Collections/helpers.php:224
/path/to/laravel-crate.io/vendor/orchestra/sidekick/src/functions.php:88
/path/to/laravel-crate.io/vendor/laravel/framework/src/Illuminate/Collections/helpers.php:224
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/Concerns/Testing.php:58
/path/to/laravel-crate.io/vendor/orchestra/testbench-core/src/TestCase.php:52
/path/to/laravel-crate.io/tests/DataTests/DataTest.php:16

With kind regards,
Andreas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions