fix gitlab tests
This commit is contained in:
@@ -24,7 +24,7 @@ class ApiFailureModeResilienceExpansionTest extends FullSurfaceE2EContractCase
|
||||
$response = $this->requestAs($this->actorFor($uri), $method, $uri, $payload);
|
||||
|
||||
$this->assertControlled($response, $method, $uri);
|
||||
$this->assertNoServerError($response, 'null relationship probe for '.$method.' '.$uri);
|
||||
$this->assertNoServerError($response, 'null relationship probe for ' . $method . ' ' . $uri);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,16 +36,16 @@ class ApiFailureModeResilienceExpansionTest extends FullSurfaceE2EContractCase
|
||||
$method = $this->primaryMethod($route);
|
||||
$uri = $route->uri();
|
||||
$payload = $this->payloadFor($method, $uri) + [
|
||||
'student_id' => 'student-'.$this->ids['studentId'],
|
||||
'parent_id' => 'parent-'.$this->ids['parentId'],
|
||||
'class_section_id' => 'class-'.$this->ids['classSectionId'],
|
||||
'invoice_id' => 'invoice-'.$this->ids['invoiceId'],
|
||||
'student_id' => 'student-' . $this->ids['studentId'],
|
||||
'parent_id' => 'parent-' . $this->ids['parentId'],
|
||||
'class_section_id' => 'class-' . $this->ids['classSectionId'],
|
||||
'invoice_id' => 'invoice-' . $this->ids['invoiceId'],
|
||||
];
|
||||
|
||||
$response = $this->requestAs($this->actorFor($uri), $method, $uri, $payload);
|
||||
|
||||
$this->assertControlled($response, $method, $uri);
|
||||
$this->assertNoServerError($response, 'string relationship probe for '.$method.' '.$uri);
|
||||
$this->assertNoServerError($response, 'string relationship probe for ' . $method . ' ' . $uri);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user