|
@@ 729-735 (lines=7) @@
|
| 726 |
|
$this->assertDICDefinitionMethodCallOnce($definition, 'setAutoCommit', [false]); |
| 727 |
|
} |
| 728 |
|
|
| 729 |
|
public function testDbalOracleConnectstring() : void |
| 730 |
|
{ |
| 731 |
|
$container = $this->loadContainer('dbal_oracle_connectstring'); |
| 732 |
|
|
| 733 |
|
$config = $container->getDefinition('doctrine.dbal.default_connection')->getArgument(0); |
| 734 |
|
$this->assertSame('scott@sales-server:1521/sales.us.example.com', $config['connectstring']); |
| 735 |
|
} |
| 736 |
|
|
| 737 |
|
public function testDbalOracleInstancename() : void |
| 738 |
|
{ |
|
@@ 737-743 (lines=7) @@
|
| 734 |
|
$this->assertSame('scott@sales-server:1521/sales.us.example.com', $config['connectstring']); |
| 735 |
|
} |
| 736 |
|
|
| 737 |
|
public function testDbalOracleInstancename() : void |
| 738 |
|
{ |
| 739 |
|
$container = $this->loadContainer('dbal_oracle_instancename'); |
| 740 |
|
|
| 741 |
|
$config = $container->getDefinition('doctrine.dbal.default_connection')->getArgument(0); |
| 742 |
|
$this->assertSame('mySuperInstance', $config['instancename']); |
| 743 |
|
} |
| 744 |
|
|
| 745 |
|
public function testDbalSchemaFilterNewConfig() : void |
| 746 |
|
{ |