Skip to content

Instantly share code, notes, and snippets.

@geshan
Created March 19, 2021 02:31
Show Gist options
  • Select an option

  • Save geshan/771eb317c994271cdd323dca28db774f to your computer and use it in GitHub Desktop.

Select an option

Save geshan/771eb317c994271cdd323dca28db774f to your computer and use it in GitHub Desktop.
Markdium-5 useful PHPUnit Assertions you should start using now
$this->assertStringContainsString(
'Error',
'Error id is required, the quote is required',
'Check if word Error is present'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment