Skip to content
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
Closed

dontSeeFileFound method doesn't work #3877

ostojicmilica opened this issue Dec 27, 2016 · 1 comment

Comments

@ostojicmilica
Copy link

@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
Copy link
Member

@Naktibalda 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 added a commit that referenced this issue Jan 10, 2017
* 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 pushed a commit to chris1312/Codeception that referenced this issue Jun 16, 2017
* Updated FTP and SFTP tests

Didn't run them

* [Filesystem] Created tests for (dont)SeeFileFound

To verify Codeception#3877

* [Filesystem] dontSeeFileFound searches in path

Fixes Codeception#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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.