Devil is in the details.

This commit is contained in:
2015-09-29 12:08:32 -05:00
parent 232e228475
commit d935032ec3
3 changed files with 37 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ class UglyQueueManagerTest extends PHPUnit_Framework_TestCase
protected function setUp()
{
$this->baseDir = __DIR__.'/../misc/queues';
$this->baseDir = realpath(__DIR__.'/../misc/queues');
}
/**
@@ -142,7 +142,7 @@ class UglyQueueManagerTest extends PHPUnit_Framework_TestCase
*/
public function testCanInitializeNewQueueAndAddToManager(\DCarbone\UglyQueueManager $manager)
{
$manager->addQueueAtPath(__DIR__.'/../misc/queues/really-tasty-sandwich');
$manager->addQueueAtPath($this->baseDir.'/really-tasty-sandwich');
$uglyQueue = $manager->getQueueWithName('really-tasty-sandwich');