Permalink
Browse files

__DIR__ 可抓到目前目錄的檔案

  • Loading branch information...
1 parent a6efc5f commit 3227a9b15a1f441433758becf7e294bbab8a7f4e Sam.IO.Hsiao committed Jul 27, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/Unit/PostServiceUnitTest.php
@@ -46,6 +46,7 @@ public function 無資料的title欄位資料()
->andReturn('no title');
/** act */
+ $file = __DIR__ . '';
$actual = App::make(PostService::class)->showTitle(4, 'no title');
/** assert */

0 comments on commit 3227a9b

Please sign in to comment.