diff options
Diffstat (limited to 'tests/includes/functions/FunctionsMediaDbTest.php')
| -rw-r--r-- | tests/includes/functions/FunctionsMediaDbTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/includes/functions/FunctionsMediaDbTest.php b/tests/includes/functions/FunctionsMediaDbTest.php index 95c9e0b9d6..fb4956e5e8 100644 --- a/tests/includes/functions/FunctionsMediaDbTest.php +++ b/tests/includes/functions/FunctionsMediaDbTest.php @@ -1,5 +1,4 @@ <?php -namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees; * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -use PHPUnit_Framework_TestCase; - /** * Unit tests for the global functions in the file includes/functions/functions_mediadb.php */ @@ -49,6 +46,6 @@ class FunctionsMediaDbTest extends PHPUnit_Framework_TestCase { * Test that function hasMemoryForImage() exists in the correct namespace. */ public function testFunctionHasMemoryForImageExists() { - $this->assertEquals(function_exists(__NAMESPACE__ . '\\hasMemoryForImage'), true); + $this->assertEquals(function_exists('hasMemoryForImage'), true); } } |
