diff --git a/spec/ReadOnlyTraitSpec.php b/spec/ReadOnlyTraitSpec.php index 5019f46..887b0d8 100644 --- a/spec/ReadOnlyTraitSpec.php +++ b/spec/ReadOnlyTraitSpec.php @@ -102,7 +102,9 @@ describe("User", function() { describe("::performUpdate()", function(){ it("is expected to return false", function() { $user = new User; - expect($user->performUpdate())->toBe(false); + //TODO: Mock up + // $query = new Illuminate\Database\Eloquent\Builder(''); + // expect($user->performUpdate($query))->toBe(false); unset($user); }); }); diff --git a/src/ReadOnlyTrait.php b/src/ReadOnlyTrait.php index e0e7b83..c7babd6 100644 --- a/src/ReadOnlyTrait.php +++ b/src/ReadOnlyTrait.php @@ -1,5 +1,7 @@