From 50dc766036b85bea9fbecae7c57b43c551b0a8c1 Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Tue, 14 Feb 2017 17:18:33 -0800 Subject: [PATCH] Better test fixes. Whoops. --- 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 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']), );