diff --git a/tests/ComposerImporterTest.php b/tests/ComposerImporterTest.php index d1a3869..ad042b8 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'], 'hhvm\autoloadmap\exception'), + idx($map['class'], 'facebook\autoloadmap\exception'), ); $this->assertSame( $root.'/src/Writer.php', - idx($map['class'], 'hhvm\autoloadmap\writer'), + idx($map['class'], 'facebook\autoloadmap\writer'), ); $this->assertSame( $root.'/src/Config.php', - idx($map['type'], 'hhvm\autoloadmap\config'), + idx($map['type'], 'facebook\autoloadmap\config'), ); } diff --git a/tests/RootImporterTest.php b/tests/RootImporterTest.php index 2f8c471..8f817ea 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( - 'hhvm\autoloadmap\exception', + 'facebook\autoloadmap\exception', array_keys($map['class']), );