diff --git a/test/DamerauLevenshteinTest.php b/test/DamerauLevenshteinTest.php
index <HASH>..<HASH> 100644
--- a/test/DamerauLevenshteinTest.php
+++ b/test/DamerauLevenshteinTest.php
@@ -1,5 +1,5 @@
 <?php
-require '../src/DamerauLevenshtein.php';
+require sprintf('%s/../src/DamerauLevenshtein.php', dirname(__FILE__));
 
 class DamerauLevenshteinTest extends PHPUnit_Framework_TestCase {
Fix for Fatal error: require(): Failed opening required