Skip to content

Commit 1089ee3

Browse files
committed
Reverted test modification and fixed schema
1 parent 80b0111 commit 1089ee3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/Jenssegers/Mongodb/Schema/Blueprint.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function dropIndex($columns = null)
9292
* @param string|array $columns
9393
* @return bool
9494
*/
95-
public function unique($columns = null)
95+
public function unique($columns = null, $name = null)
9696
{
9797
$columns = $this->fluent($columns);
9898
$this->index($columns, array('unique' => true));

Diff for: tests/ConnectionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testMultipleConnections()
5252

5353
# Add fake host
5454
$db = $app['config']['database.connections']['mongodb'];
55-
$db['host'] = array($db['host'], '0.0.0.0');
55+
$db['host'] = array($db['host'], '1.2.3.4');
5656

5757
$connection = new Connection($db);
5858
$mongoclient = $connection->getMongoClient();

0 commit comments

Comments
 (0)