From 24d7b8c5d57ffe015ea2b3520b8e07aa65e5ffe4 Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Tue, 14 Feb 2017 17:14:15 -0800 Subject: [PATCH] Unit test fixes --- tests/ComposerImporterTest.php | 6 +++--- tests/RootImporterTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ComposerImporterTest.php b/tests/ComposerImporterTest.php index 79de9cd..d1a3869 100644 --- a/tests/ComposerImporterTest.php +++ b/tests/ComposerImporterTest.php @@ -28,15 +28,15 @@ public function testRootImportWithScannedFiles(): void { $map = $importer->getAutoloadMap(); $this->assertSame( $root.'/src/Exception.php', - idx($map['class'], 'fredemmott\autoloadmap\exception'), + idx($map['class'], 'hhvm\autoloadmap\exception'), ); $this->assertSame( $root.'/src/Writer.php', - idx($map['class'], 'fredemmott\autoloadmap\writer'), + idx($map['class'], 'hhvm\autoloadmap\writer'), ); $this->assertSame( $root.'/src/Config.php', - idx($map['type'], 'fredemmott\autoloadmap\config'), + idx($map['type'], 'hhvm\autoloadmap\config'), ); } diff --git a/tests/RootImporterTest.php b/tests/RootImporterTest.php index 4b6fc88..2f8c471 100644 --- a/tests/RootImporterTest.php +++ b/tests/RootImporterTest.php @@ -17,7 +17,7 @@ public function testSelf(): void { $importer = new RootImporter($root); $map = $importer->getAutoloadMap(); $this->assertContains( - 'fredemmott\autoloadmap\exception', + 'hhvm\autoloadmap\exception', array_keys($map['class']), );