Rename methods to something less tied to its implementation
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
c4613733eb
commit
38efa97aa5
|
@ -87,7 +87,7 @@ class NextcloudTestServerContext implements Context {
|
|||
* BeforeScenario hook scope.
|
||||
* @throws \Exception if the Docker container can not be started.
|
||||
*/
|
||||
public function startNextcloudTestServer(BeforeScenarioScope $scope) {
|
||||
public function setUpNextcloudTestServer(BeforeScenarioScope $scope) {
|
||||
$this->dockerHelper->createAndStartContainer();
|
||||
|
||||
$serverAddress = $this->dockerHelper->getNextcloudTestServerAddress();
|
||||
|
@ -116,7 +116,7 @@ class NextcloudTestServerContext implements Context {
|
|||
*
|
||||
* @throws \Exception if the Docker container can not be removed.
|
||||
*/
|
||||
public function stopNextcloudTestServer() {
|
||||
public function cleanUpNextcloudTestServer() {
|
||||
$this->dockerHelper->stopAndRemoveContainer();
|
||||
|
||||
$wasContainerRemovedCallback = function() {
|
||||
|
|
Loading…
Reference in New Issue