Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Asserts like assertRedirectTo not working for me #4

@livingos

Description

@livingos

Not sure if there is config I'm missing somewhere, but when using assertRedirectTo I get the following:

Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://localhost/admin/users'
+'http://:/admin/users#'

If I change tests to have them run directly by phpunit using laravels TestCase class instead, it works correctly. It seems that when running test with codeception, the app's url is different.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions