Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Grutschus committed Sep 19, 2018
1 parent 3cbfd4e commit aa06c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions behat.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
default:
suites:
authentication_features:
paths: [ %paths.base%/tests/features/ ]
paths: [ "%paths.base%/tests/features/" ]
contexts:
- Fabiang\Sasl\Behat\XmppContext:
- localhost
- 15222
- precise32
- testuser
- testpass
- %paths.base%/log/features/
- "%paths.base%/log/features/"
- Fabiang\Sasl\Behat\Pop3Context:
- localhost
- 11110
- testuser
- testpass
- %paths.base%/log/features/
- "%paths.base%/log/features/"
testers:
strict: true
2 changes: 1 addition & 1 deletion tests/features/bootstrap/Pop3Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function __construct($hostname, $port, $username, $password, $logdir)
public function connectionToPopServer()
{
$this->connect();
Assert::assertRegExp("/+OK Dovecot .*ready.\r\n/", $this->read());
Assert::assertRegExp('/\+OK Dovecot .*ready./', $this->read());
}

/**
Expand Down

0 comments on commit aa06c05

Please sign in to comment.