Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
use phpunit.xml instead to load init.php
Browse files Browse the repository at this point in the history
  • Loading branch information
scribu committed Sep 22, 2011
1 parent 82e571f commit 1e8aafb
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<phpunit bootstrap="./init.php"></phpunit>
1 change: 0 additions & 1 deletion test_go_to.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once dirname( __FILE__ ) . '/init.php';

class WP_Test_Go_To extends WP_UnitTestCase {

Expand Down
1 change: 0 additions & 1 deletion test_plugin.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once dirname( __FILE__ ) . '/init.php';

class WP_Test_Hello_Dolly extends WP_UnitTestCase {

Expand Down
1 change: 0 additions & 1 deletion test_test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once dirname( __FILE__ ) . '/init.php';

class WP_Is_Email_Test extends WP_UnitTestCase {

Expand Down
1 change: 0 additions & 1 deletion test_texturize.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once dirname( __FILE__ ) . '/init.php';

class WP_Test_Texturize extends WP_UnitTestCase {
function test_dont_texturize_dashes_in_code() {
Expand Down

0 comments on commit 1e8aafb

Please sign in to comment.