nextcloud/build/integration/features/bootstrap
Daniel Calviño Sánchez 146e43ba47 Add integration tests for creating and updating a mail share
In most cases, when a mail share is created or updated an e-mail is sent
to the sharee, which is done by connecting to the SMTP server set in the
configuration. If the server can not be contacted then the creation or
update of the mail share fails.

To make possible to test mail shares without using a real SMTP server a
fake one has been added. The original script, which is MIT licensed, was
based on inetd, so it was slightly modified to run on its own.

In order to use it from the integration tests the "Given dummy mail
server is listening" step has to be called in the scenarios in which the
mail server is needed.

For now that is the only available step; things like checking the sent
mails, while possible (as the script can log the mails to certain file),
have not been added yet.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-01 10:53:24 +02:00
..
AppConfiguration.php add LDAP integr. test for receiving share candidates with group limitation 2019-06-14 06:23:58 +02:00
Auth.php Mock name for integration test 2019-02-04 17:12:59 +01:00
BasicStructure.php add LDAP integr. test for receiving share candidates with group limitation 2019-06-14 06:23:58 +02:00
CalDavContext.php add LDAP integr. test for receiving share candidates with group limitation 2019-06-14 06:23:58 +02:00
CapabilitiesContext.php Fixed phpunit Test class 2018-06-13 07:24:41 +02:00
CardDavContext.php Adjust integration tests to new guzzle 2018-02-09 17:13:30 +01:00
ChecksumsContext.php Adjust integration tests to new guzzle 2018-02-09 17:13:30 +01:00
CommandLine.php Adjust integration tests to new guzzle 2018-02-09 17:13:30 +01:00
CommandLineContext.php Update license headers 2017-11-06 16:56:19 +01:00
CommentsContext.php Adjust integration tests to new guzzle 2018-02-09 17:13:30 +01:00
Download.php Fixed phpunit Test class 2018-06-13 07:24:41 +02:00
FakeSMTPHelper.php Add integration tests for creating and updating a mail share 2020-06-01 10:53:24 +02:00
FeatureContext.php Add integration tests for creating and updating a mail share 2020-06-01 10:53:24 +02:00
FederationContext.php add some integration tests 2018-07-11 10:11:49 +02:00
FilesDropContext.php Adjust integration tests to new guzzle 2018-02-09 17:13:30 +01:00
LDAPContext.php add LDAP integr. test for receiving share candidates with group limitation 2019-06-14 06:23:58 +02:00
Mail.php Add integration tests for creating and updating a mail share 2020-06-01 10:53:24 +02:00
Provisioning.php Add integration test for creating room shares when Talk is not enabled 2018-08-08 14:25:43 +02:00
RemoteContext.php Fixed phpunit Test class 2018-06-13 07:24:41 +02:00
Search.php Add integration tests for searching files by comments 2018-07-25 18:53:45 +02:00
SetupContext.php Update license headers 2017-11-06 16:56:19 +01:00
ShareesContext.php add LDAP integr. test for receiving share candidates with group limitation 2019-06-14 06:23:58 +02:00
Sharing.php Generalize integration test steps to download last share 2020-06-01 10:53:23 +02:00
TagsContext.php Adjust integration tests to new guzzle 2018-02-09 17:13:30 +01:00
Trashbin.php fix sharing trashbin integration tests 2018-09-20 17:03:59 +02:00
WebDav.php add LDAP integr. test for receiving share candidates with group limitation 2019-06-14 06:23:58 +02:00