Skip to content

Commit

Permalink
Add stats listener test
Browse files Browse the repository at this point in the history
  • Loading branch information
psrpinto committed Feb 19, 2024
1 parent e9d0852 commit da9b395
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
4 changes: 2 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite name="unit">
<directory suffix=".php">./tests/unit/</directory>
<testsuite name="tests">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
11 changes: 11 additions & 0 deletions tests/stats-listener.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Wporg\tests;

use WP_Ajax_UnitTestCase;

class Stats_Listener_Test extends WP_Ajax_UnitTestCase {
public function test_stores_translation_created() {
$this->assertTrue( true );
}
}
14 changes: 0 additions & 14 deletions tests/unit/dummy.php

This file was deleted.

0 comments on commit da9b395

Please sign in to comment.