1
0

SmokeTest.php 304 B

123456789101112131415161718
  1. <?php
  2. namespace Tests;
  3. class SmokeTest extends TestCase
  4. {
  5. /** @test */
  6. function it_works()
  7. {
  8. // Do something that triggers a database query.
  9. $this->assertCount(0, get_posts());
  10. $this->factory()->post->create();
  11. $this->assertCount(1, get_posts());
  12. }
  13. }