Skip to content

Commit

Permalink
Fix test files expectation after adding 2 new files for copying
Browse files Browse the repository at this point in the history
  • Loading branch information
caalador committed Mar 21, 2022
1 parent a22833c commit 406b76e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ public void setup() throws IOException, ExecutionFailedException {
public void frontendResources_should_beCopiedFromJars_when_TaskUpdatePackagesRemovesThem()
throws IOException, ExecutionFailedException {
copyResources();
assertCopiedFrontendFileAmount(6/* jar files */ + 1/* package.json */);
assertCopiedFrontendFileAmount(8/* jar files */ + 1/* package.json */);

performPackageClean();
// Should keep the `package.json` file
assertCopiedFrontendFileAmount(1);

copyResources();
assertCopiedFrontendFileAmount(6/* jar files */ + 1/* package.json */);
assertCopiedFrontendFileAmount(8/* jar files */ + 1/* package.json */);
}

private void assertCopiedFrontendFileAmount(int fileCount)
Expand Down

0 comments on commit 406b76e

Please sign in to comment.