Last active
April 27, 2020 01:38
-
-
Save craig-davis/49af36351896f0f53bc02e0a7dd8ef02 to your computer and use it in GitHub Desktop.
PHPUnit Assertion Without Message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function testAuthorHasPostsArray() | |
{ | |
$author = new Author(); | |
self::assertIsArray($author->getPosts()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment