diff --git a/src/Jenssegers/Mongodb/Schema/Blueprint.php b/src/Jenssegers/Mongodb/Schema/Blueprint.php
index 0e5644e14b2d57e76ffc50b2b16dbb75b2a80b13..5a59a7c8ce638403d7057a1c0a0974c4bc7f0764 100644
--- a/src/Jenssegers/Mongodb/Schema/Blueprint.php
+++ b/src/Jenssegers/Mongodb/Schema/Blueprint.php
@@ -92,7 +92,7 @@ class Blueprint extends \Illuminate\Database\Schema\Blueprint {
 	 * @param  string|array  $columns
 	 * @return bool
 	 */
-	public function unique($columns = null)
+	public function unique($columns = null, $name = null)
 	{
 		$columns = $this->fluent($columns);
 		$this->index($columns, array('unique' => true));
diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php
index a33b53f4d4bc940b1ac3251354864edf99514ea3..2826b8c3f788ac053052358f062b231ed61c36ef 100644
--- a/tests/ConnectionTest.php
+++ b/tests/ConnectionTest.php
@@ -52,7 +52,7 @@ class ConnectionTest extends PHPUnit_Framework_TestCase {
 
 		# Add fake host
 		$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);
 		$mongoclient = $connection->getMongoClient();