Changeset 27718
- Timestamp:
- 03/25/2014 05:39:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ms.php
r27706 r27718 977 977 978 978 function _domain_exists_cb( $exists, $domain, $path, $site_id ) { 979 if ( 'foo' == $domain && 'bar ' == $path )979 if ( 'foo' == $domain && 'bar/' == $path ) 980 980 return 1234; 981 981 else … … 998 998 $this->assertEquals( null, domain_exists( 'foo', 'baz' ) ); 999 999 $this->assertEquals( null, domain_exists( 'bar', 'foo' ) ); 1000 1001 // Make sure the same result is returned with or without a trailing slash 1002 $this->assertEquals( domain_exists( 'foo', 'bar' ), domain_exists( 'foo', 'bar/' ) ); 1000 1003 1001 1004 remove_filter( 'domain_exists', array( $this, '_domain_exists_cb' ), 10, 4 );
Note: See TracChangeset
for help on using the changeset viewer.