From c1b7bcfe0d416df6eaa82f42c2738a6f49ecbd42 Mon Sep 17 00:00:00 2001 From: Guillermo Kardolus Date: Wed, 31 Oct 2018 14:51:41 -0400 Subject: [PATCH] Fix rebuild layer unit test [#161557168] Co-authored-by: An Yu --- npm/npm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/npm_test.go b/npm/npm_test.go index cfc54c79..12490d35 100644 --- a/npm/npm_test.go +++ b/npm/npm_test.go @@ -90,7 +90,7 @@ func testNpm(t *testing.T, when spec.G, it spec.S) { }) it("rebuilds in dst", func() { - mockRunner.EXPECT().Run(cacheLayer, "rebuild").Times(1) + mockRunner.EXPECT().Run(appRoot, "rebuild").Times(1) err = Npm.RebuildLayer(appRoot, cacheLayer) Expect(err).To(BeNil())