@@ -101,7 +101,7 @@ public function testGetReplaceUpdateAndRemoveOnNonExistentObjects()
101
101
// don't bother us... just give us the $e
102
102
}
103
103
static ::assertInstanceOf (ServerException::class, $ e );
104
- static ::assertEquals (404 , $ e ->getCode (), 'Should be 404 , instead got: ' . $ e ->getCode ());
104
+ static ::assertEquals (403 , $ e ->getCode (), 'Should be 403 , instead got: ' . $ e ->getCode ());
105
105
106
106
107
107
// Try to update a non-existent edge
@@ -113,7 +113,7 @@ public function testGetReplaceUpdateAndRemoveOnNonExistentObjects()
113
113
// don't bother us... just give us the $e
114
114
}
115
115
static ::assertInstanceOf (ServerException::class, $ e );
116
- static ::assertEquals (404 , $ e ->getCode (), 'Should be 404 , instead got: ' . $ e ->getCode ());
116
+ static ::assertEquals (403 , $ e ->getCode (), 'Should be 403 , instead got: ' . $ e ->getCode ());
117
117
118
118
119
119
// Try to replace a non-existent edge
@@ -125,7 +125,7 @@ public function testGetReplaceUpdateAndRemoveOnNonExistentObjects()
125
125
// don't bother us... just give us the $e
126
126
}
127
127
static ::assertInstanceOf (ServerException::class, $ e );
128
- static ::assertEquals (404 , $ e ->getCode (), 'Should be 404 , instead got: ' . $ e ->getCode ());
128
+ static ::assertEquals (403 , $ e ->getCode (), 'Should be 403 , instead got: ' . $ e ->getCode ());
129
129
130
130
131
131
// Try to remove a non-existent edge
@@ -137,7 +137,7 @@ public function testGetReplaceUpdateAndRemoveOnNonExistentObjects()
137
137
// don't bother us... just give us the $e
138
138
}
139
139
static ::assertInstanceOf (ServerException::class, $ e );
140
- static ::assertEquals (404 , $ e ->getCode (), 'Should be 404 , instead got: ' . $ e ->getCode ());
140
+ static ::assertEquals (403 , $ e ->getCode (), 'Should be 403 , instead got: ' . $ e ->getCode ());
141
141
}
142
142
143
143
0 commit comments