Commit 1089ee3b authored by Jens Segers's avatar Jens Segers

Reverted test modification and fixed schema

parent 80b01111
...@@ -92,7 +92,7 @@ class Blueprint extends \Illuminate\Database\Schema\Blueprint { ...@@ -92,7 +92,7 @@ class Blueprint extends \Illuminate\Database\Schema\Blueprint {
* @param string|array $columns * @param string|array $columns
* @return bool * @return bool
*/ */
public function unique($columns = null) public function unique($columns = null, $name = null)
{ {
$columns = $this->fluent($columns); $columns = $this->fluent($columns);
$this->index($columns, array('unique' => true)); $this->index($columns, array('unique' => true));
......
...@@ -52,7 +52,7 @@ class ConnectionTest extends PHPUnit_Framework_TestCase { ...@@ -52,7 +52,7 @@ class ConnectionTest extends PHPUnit_Framework_TestCase {
# Add fake host # Add fake host
$db = $app['config']['database.connections']['mongodb']; $db = $app['config']['database.connections']['mongodb'];
$db['host'] = array($db['host'], '0.0.0.0'); $db['host'] = array($db['host'], '1.2.3.4');
$connection = new Connection($db); $connection = new Connection($db);
$mongoclient = $connection->getMongoClient(); $mongoclient = $connection->getMongoClient();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment