Permalink
Browse files

PostServiceUnitTest 使用 app::make()

  • Loading branch information...
1 parent 70964d9 commit 3b9d185307e4a64258fd8790439b820b44766931 Sam.IO.Hsiao committed Jul 27, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Unit/PostServiceUnitTest.php
@@ -46,7 +46,7 @@ public function 無資料的title欄位資料()
->andReturn('no title');
/** act */
- $actual = $this->target->showTitle(4, 'no title');
+ $actual = App::make(PostService::class)->showTitle(4, 'no title');
/** assert */
$this->assertEquals('no title', $actual);

0 comments on commit 3b9d185

Please sign in to comment.