Initial implementation of controller unit tests.
This commit is contained in:
parent
90bbe57148
commit
1260a8384a
5 changed files with 231 additions and 6 deletions
|
@ -33,6 +33,16 @@ interface DatabaseHostRepositoryInterface extends RepositoryInterface
|
|||
*/
|
||||
public function getWithViewDetails();
|
||||
|
||||
/**
|
||||
* Return a database host with the databases and associated servers that are attached to said databases.
|
||||
*
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function getWithServers($id);
|
||||
|
||||
/**
|
||||
* Delete a database host from the DB if there are no databases using it.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue