Skip to content
Permalink
Browse files

add 'port' to expected result

  • Loading branch information...
saeideng committed Mar 17, 2018
1 parent 3b80ac4 commit 5fb000f7b458ff807985d9f00089bc7992e9e9dc
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/TestCase/Database/Driver/SqlserverTest.php
@@ -143,6 +143,7 @@ public function testConnectionConfigCustom()
$expected['failoverPartner'] = null;
$expected['loginTimeout'] = null;
$expected['multiSubnetFailover'] = null;
$expected['port'] = '';
$connection = $this->getMockBuilder('stdClass')
->setMethods(['exec', 'quote'])
@@ -206,6 +207,7 @@ public function testConnectionPersistentFalse()
$expected['failoverPartner'] = null;
$expected['loginTimeout'] = null;
$expected['multiSubnetFailover'] = null;
$expected['port'] = '';
$driver->expects($this->once())->method('_connect')
->with($dsn, $expected);

0 comments on commit 5fb000f

Please sign in to comment.
You can’t perform that action at this time.