src/Codeception/Module/WPFilesystem.php
public function dontSeeInUploadedFile($file, $contents, $date = null)
    {
        Assert::assertStringNotEqualsFile(
            $this->getUploadsPath(
                $file,
                $date
            ),
            $contents
        );
    }
public function dontSeeInUploadedFile($file, $contents, $date = null)
    {
        Assert::assertStringNotEqualsFile(
            $this->getUploadsPath(
                $file,
                $date
            ),
            $contents
        );
    }
public function dontSeeInUploadedFile ( $ file , $ contents , $ date = null ) { Assert :: assertStringNotEqualsFile ( $ this -> getUploadsPath ( $ file , $ date ) , $ contents ) ; }
Checks that a file in the uploads folder does contain a string.

The date argument can be a string compatible with `strtotime` or a Unix
timestamp that will be used to build the `Y/m` uploads subfolder path.

@example
```php
$I->dontSeeInUploadedFile('some-file.txt', 'foo');
$I->dontSeeInUploadedFile('some-file.txt','foo', 'today');
```

@param string $file The file path, relative to the uploads folder or the current folder.
@param string $contents The not expected file contents or part of them.
@param string|int $date A string compatible with `strtotime` or a Unix timestamp.
Checks that a file in the uploads folder does contain a string .