Skip to content

Commit c1b7bcf

Browse files
kardolusanyu
andcommitted
Fix rebuild layer unit test
[#161557168] Co-authored-by: An Yu <anyu@pivotal.io>
1 parent dd5878f commit c1b7bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

npm/npm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func testNpm(t *testing.T, when spec.G, it spec.S) {
9090
})
9191

9292
it("rebuilds in dst", func() {
93-
mockRunner.EXPECT().Run(cacheLayer, "rebuild").Times(1)
93+
mockRunner.EXPECT().Run(appRoot, "rebuild").Times(1)
9494

9595
err = Npm.RebuildLayer(appRoot, cacheLayer)
9696
Expect(err).To(BeNil())

0 commit comments

Comments
 (0)