New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dontSeeFileFound method doesn't work #3877

Closed
ostojicmilica opened this Issue Dec 27, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@ostojicmilica

ostojicmilica commented Dec 27, 2016

What are you trying to achieve?

I try to test if file exists in filesystem. I include Filesystem module for that. When I use seeFileFound method everything looks fine, but if I use dontSeeFileFound it always return success.

What do you get instead?

I get success as an output when I check for same file when I use seeFileFound and dontSeeFileFound methods, but first one is good second one is not.

Details

  • Codeception version:
  • PHP Version: 7.0
  • Operating System: Ubuntu 16.04 LTS
  • Installation type: Phar || Composer
  • Framework: Laravel
# paste suite config here

class_name: FunctionalTester
modules:
    enabled:
        # add framework module here
        - \Helper\Functional
        - Asserts
        - Db
        - Cli
        - Filesystem

        - Laravel5:
            environment_file: .env.testing

Naktibalda added a commit to Naktibalda/Codeception that referenced this issue Dec 29, 2016

@Naktibalda

This comment has been minimized.

Show comment
Hide comment
@Naktibalda

Naktibalda Dec 29, 2016

Member

doesn't work means doesn't search in path.

Member

Naktibalda commented Dec 29, 2016

doesn't work means doesn't search in path.

Naktibalda added a commit to Naktibalda/Codeception that referenced this issue Dec 29, 2016

Naktibalda added a commit to Naktibalda/Codeception that referenced this issue Dec 29, 2016

@DavertMik DavertMik closed this in #3882 Jan 10, 2017

DavertMik added a commit that referenced this issue Jan 10, 2017

[Filesystem] dontSeeFileFound searches in path (#3882)
* Updated FTP and SFTP tests

Didn't run them

* [Filesystem] Created tests for (dont)SeeFileFound

To verify #3877

* [Filesystem] dontSeeFileFound searches in path

Fixes #3877

* [Filesystem] Set parameter types in docblocks

* Reduced code duplication

chris1312 added a commit to chris1312/Codeception that referenced this issue Jun 16, 2017

[Filesystem] dontSeeFileFound searches in path (#3882)
* Updated FTP and SFTP tests

Didn't run them

* [Filesystem] Created tests for (dont)SeeFileFound

To verify #3877

* [Filesystem] dontSeeFileFound searches in path

Fixes #3877

* [Filesystem] Set parameter types in docblocks

* Reduced code duplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment