Skip to content

Commit b6ca8ae

Browse files
committed
Use makeWith instead of make
1 parent 54a91f7 commit b6ca8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Support/TestApplicationWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function make($abstract, array $parameters = [])
101101
if (is_subclass_of($abstract, AbstractWidget::class)) {
102102
$app = \Illuminate\Container\Container::getInstance();
103103

104-
return $app->make($abstract, $parameters);
104+
return $app->makeWith($abstract, $parameters);
105105
}
106106

107107
throw new InvalidArgumentException("Binding {$abstract} cannot be resolved while testing");

0 commit comments

Comments
 (0)