Skip to content

Commit

Permalink
Fix ProjectAnalyzer test
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Apr 12, 2020
1 parent 95ec189 commit 110df3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Internal/Provider/ProjectCacheProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function canDiffFiles()

public function hasLockfileChanged() : bool
{
return true;
return false;
}

public function updateComposerLockHash() : void
Expand Down
3 changes: 2 additions & 1 deletion tests/ProjectCheckerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ private function getProjectAnalyzerWithConfig(Config $config)
new Provider\ParserInstanceCacheProvider(),
new Provider\FileStorageInstanceCacheProvider(),
new Provider\ClassLikeStorageInstanceCacheProvider(),
new Provider\FakeFileReferenceCacheProvider()
new Provider\FakeFileReferenceCacheProvider(),
new Provider\ProjectCacheProvider()
),
new \Psalm\Report\ReportOptions()
);
Expand Down

0 comments on commit 110df3e

Please sign in to comment.