Home
last modified time | relevance | path

Searched refs:server_check_service (Results 1 – 5 of 5) sorted by relevance

/webtrees/tests/app/Http/RequestHandlers/
H A DPingTest.php33 $server_check_service = $this->createMock(ServerCheckService::class);
34 …$server_check_service->expects($this->once())->method('serverErrors')->willReturn(new Collection()…
35 …$server_check_service->expects($this->once())->method('serverWarnings')->willReturn(new Collection…
38 $handler = new Ping($server_check_service);
47 $server_check_service = $this->createMock(ServerCheckService::class);
48 …$server_check_service->expects($this->once())->method('serverErrors')->willReturn(new Collection()…
49 …$server_check_service->expects($this->once())->method('serverWarnings')->willReturn(new Collection…
52 $handler = new Ping($server_check_service);
61 $server_check_service = $this->createMock(ServerCheckService::class);
62 …$server_check_service->expects($this->once())->method('serverErrors')->willReturn(new Collection([…
[all …]
H A DControlPanelControllerTest.php48 $server_check_service = new ServerCheckService();
54 …rvice, $housekeeping_service, $message_service, $module_service, $server_check_service, $tree_serv…
/webtrees/app/Http/RequestHandlers/
H A DPing.php34 private ServerCheckService $server_check_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\Ping
37 * @param ServerCheckService $server_check_service
39 public function __construct(ServerCheckService $server_check_service) argument
41 $this->server_check_service = $server_check_service;
51 if ($this->server_check_service->serverErrors()->isNotEmpty()) {
55 if ($this->server_check_service->serverWarnings()->isNotEmpty()) {
H A DSetupWizard.php99 private ServerCheckService $server_check_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\SetupWizard
106 * @param ServerCheckService $server_check_service
112 ServerCheckService $server_check_service, argument
118 $this->server_check_service = $server_check_service;
165 $data['errors'] = $this->server_check_service->serverErrors($data['dbtype']);
166 $data['warnings'] = $this->server_check_service->serverWarnings($data['dbtype']);
168 $data['errors'] = $this->server_check_service->serverErrors();
169 $data['warnings'] = $this->server_check_service->serverWarnings();
H A DControlPanel.php88 private ServerCheckService $server_check_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ControlPanel
101 * @param ServerCheckService $server_check_service
111 ServerCheckService $server_check_service, argument
120 $this->server_check_service = $server_check_service;
147 'server_errors' => $this->server_check_service->serverErrors(),
148 'server_warnings' => $this->server_check_service->serverWarnings(),