mirror of
https://gh.wpcy.net/https://github.com/discourse/wp-discourse.git
synced 2026-05-24 04:53:57 +08:00
git-svn-id: http://plugins.svn.wordpress.org/wp-discourse/trunk@1637246 b8457f37-d9ea-0310-8a92-e5e31aec5664
19 lines
354 B
PHP
Vendored
19 lines
354 B
PHP
Vendored
<?php
|
|
|
|
require_once( __DIR__ . '/../../../lib/discourse.php' );
|
|
|
|
class DiscourseTest extends PHPUnit_Framework_TestCase {
|
|
public function setUp() {
|
|
\WP_Mock::setUp();
|
|
}
|
|
|
|
public function tearDown() {
|
|
\WP_Mock::tearDown();
|
|
}
|
|
|
|
public function test_wp_mock_setup() {
|
|
$str = 'this is a test';
|
|
|
|
$this->assertEquals( $str, 'this is a test' );
|
|
}
|
|
}
|