mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Remove unnecessary semicolon
This commit is contained in:
@ -28,7 +28,7 @@ import (
|
|||||||
|
|
||||||
func APIChecksFeatureContext(s *godog.Suite) {
|
func APIChecksFeatureContext(s *godog.Suite) {
|
||||||
s.Step(`^API endpoint "([^"]*)" is called with:$`, apiIsCalledWith)
|
s.Step(`^API endpoint "([^"]*)" is called with:$`, apiIsCalledWith)
|
||||||
s.Step(`^message is sent with API call:$`, messageIsSentWithAPICall)
|
s.Step(`^message is sent with API call$`, messageIsSentWithAPICall)
|
||||||
s.Step(`^API mailbox "([^"]*)" for "([^"]*)" has messages$`, apiMailboxForUserHasMessages)
|
s.Step(`^API mailbox "([^"]*)" for "([^"]*)" has messages$`, apiMailboxForUserHasMessages)
|
||||||
s.Step(`^API mailbox "([^"]*)" for address "([^"]*)" of "([^"]*)" has messages$`, apiMailboxForAddressOfUserHasMessages)
|
s.Step(`^API mailbox "([^"]*)" for address "([^"]*)" of "([^"]*)" has messages$`, apiMailboxForAddressOfUserHasMessages)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Feature: SMTP with bcc
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | bridgetest@protonmail.com | hello |
|
| [userAddress] | bridgetest@protonmail.com | hello |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -52,7 +52,7 @@ Feature: SMTP with bcc
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | | hello |
|
| [userAddress] | | hello |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
|
|||||||
@ -21,7 +21,7 @@ Feature: SMTP sending of HTML messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | HTML text external |
|
| [userAddress] | pm.bridge.qa@gmail.com | HTML text external |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -96,7 +96,7 @@ Feature: SMTP sending of HTML messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Html Inline External |
|
| [userAddress] | pm.bridge.qa@gmail.com | Html Inline External |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -185,7 +185,7 @@ Feature: SMTP sending of HTML messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | bridgetest@protonmail.com | Html Inline Alternative Internal |
|
| [userAddress] | bridgetest@protonmail.com | Html Inline Alternative Internal |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -274,7 +274,7 @@ Feature: SMTP sending of HTML messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Html Inline Alternative External |
|
| [userAddress] | pm.bridge.qa@gmail.com | Html Inline Alternative External |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
|
|||||||
@ -41,7 +41,7 @@ Feature: SMTP sending of HTML messages with attachments
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | bridgetest@protonmail.com | HTML with attachment internal |
|
| [userAddress] | bridgetest@protonmail.com | HTML with attachment internal |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -100,7 +100,7 @@ Feature: SMTP sending of HTML messages with attachments
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | HTML with attachment external PGP |
|
| [userAddress] | pm.bridge.qa@gmail.com | HTML with attachment external PGP |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | bridgetest@protonmail.com | |
|
| [userAddress] | bridgetest@protonmail.com | |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -50,7 +50,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | |
|
| [userAddress] | pm.bridge.qa@gmail.com | |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -87,7 +87,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | bridgetest@protonmail.com | Plain text internal |
|
| [userAddress] | bridgetest@protonmail.com | Plain text internal |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -124,7 +124,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Plain text external |
|
| [userAddress] | pm.bridge.qa@gmail.com | Plain text external |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -161,7 +161,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Plain text no charset external |
|
| [userAddress] | pm.bridge.qa@gmail.com | Plain text no charset external |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -201,7 +201,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Plain text no charset external |
|
| [userAddress] | pm.bridge.qa@gmail.com | Plain text no charset external |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -236,7 +236,7 @@ Feature: SMTP sending of plain messages
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Plain, no charset, no content, external |
|
| [userAddress] | pm.bridge.qa@gmail.com | Plain, no charset, no content, external |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
|
|||||||
@ -41,7 +41,7 @@ Feature: SMTP sending of plain messages with attachments
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | bridgetest@protonmail.com | Plain with attachment |
|
| [userAddress] | bridgetest@protonmail.com | Plain with attachment |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -100,7 +100,7 @@ Feature: SMTP sending of plain messages with attachments
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | subject |
|
| from | to | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | Plain with attachment external |
|
| [userAddress] | pm.bridge.qa@gmail.com | Plain with attachment external |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
@ -160,7 +160,7 @@ Feature: SMTP sending of plain messages with attachments
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| from | to | cc | subject |
|
| from | to | cc | subject |
|
||||||
| [userAddress] | pm.bridge.qa@gmail.com | bridgeqa@seznam.cz | Plain with attachment external PGP and external CC |
|
| [userAddress] | pm.bridge.qa@gmail.com | bridgeqa@seznam.cz | Plain with attachment external PGP and external CC |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
|
|||||||
@ -21,7 +21,7 @@ Feature: SMTP sending with APPENDing to Sent
|
|||||||
And mailbox "Sent" for "user" has messages
|
And mailbox "Sent" for "user" has messages
|
||||||
| externalid | from | to | subject |
|
| externalid | from | to | subject |
|
||||||
| bridgemessage42 | [userAddress] | bridgetest@protonmail.com | Manual send and append |
|
| bridgemessage42 | [userAddress] | bridgetest@protonmail.com | Manual send and append |
|
||||||
And message is sent with API call:
|
And message is sent with API call
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"Message": {
|
"Message": {
|
||||||
|
|||||||
Reference in New Issue
Block a user