Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Better test fixes. Whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Feb 15, 2017
1 parent 24d7b8c commit 50dc766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/ComposerImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/RootImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
);

Expand Down

0 comments on commit 50dc766

Please sign in to comment.