File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function test_execute_install_command_successfully()
3030
3131 public function test_throw_exception_when_docker_compose_yml_is_not_found ()
3232 {
33- $ this ->expectException (\ErrorException ::class);
33+ $ this ->expectException (\Symfony \ Component \ Yaml \ Exception \ParseException ::class);
3434 if (file_exists ($ this ->app ->basePath ('docker-compose.yml ' ))) {
3535 unlink ($ this ->app ->basePath ('docker-compose.yml ' ));
3636 } else if (file_exists ($ this ->app ->basePath ('compose.yaml ' ))) {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public function test_execute_publish_command_successfully()
2424
2525 public function test_throw_exception_when_docker_compose_yml_is_not_found ()
2626 {
27- $ this ->expectException (\ErrorException ::class);
27+ $ this ->expectException (\Symfony \ Component \ Yaml \ Exception \ParseException ::class);
2828 if (file_exists ($ this ->app ->basePath ('docker-compose.yml ' ))) {
2929 unlink ($ this ->app ->basePath ('docker-compose.yml ' ));
3030 } else if (file_exists ($ this ->app ->basePath ('compose.yaml ' ))) {
You can’t perform that action at this time.
0 commit comments