Skip to content

Bug: Namespace "Tests" is not defined. #9634

@b-and-p

Description

@b-and-p

PHP Version

8.3

CodeIgniter4 Version

4.6.1

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Windows

Which server did you use?

apache

Database

MySQL 8.2.0

What happened?

php spark make:test Foo outputs error message:
Namespace "Tests" is not defined.

Steps to Reproduce

Run php spark make:test Foo from project root.

Expected Output

Test file created.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions