mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-10-31 21:33:23 -07:00
Update test expected behavior on ReadOnlyException (#21)
This commit is contained in:
parent
c217644206
commit
6e3dbacacc
1 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ describe("User", function() {
|
|||
});
|
||||
});
|
||||
describe("::touch()", function(){
|
||||
it("is expected to throw Error", function() {
|
||||
it("is expected to throw ReadOnlyException", function() {
|
||||
expect(
|
||||
function(){
|
||||
$user = new User;
|
||||
|
@ -145,7 +145,7 @@ describe("User", function() {
|
|||
});
|
||||
});
|
||||
describe("::truncate()", function(){
|
||||
it("is expected to throw Error", function() {
|
||||
it("is expected to throw ReadOnlyException", function() {
|
||||
expect(
|
||||
function(){
|
||||
$user = new User;
|
||||
|
@ -154,7 +154,7 @@ describe("User", function() {
|
|||
});
|
||||
});
|
||||
describe("::insert()", function(){
|
||||
it("is expected to throw Error", function() {
|
||||
it("is expected to throw ReadOnlyException", function() {
|
||||
expect(
|
||||
function(){
|
||||
$user = new User;
|
||||
|
|
Loading…
Reference in a new issue