diff --git a/test/WireMock/Client/WireMockTest.php b/test/WireMock/Client/WireMockTest.php
index <HASH>..<HASH> 100644
--- a/test/WireMock/Client/WireMockTest.php
+++ b/test/WireMock/Client/WireMockTest.php
@@ -57,6 +57,8 @@ class WireMockTest extends \PHPUnit_Framework_TestCase
         /** @var MappingBuilder $mockMappingBuilder */
         $mockMappingBuilder = mock('WireMock\Client\MappingBuilder');
         when($mockMappingBuilder->build())->return($mockStubMapping);
+        when($this->_mockCurl->post('http://localhost:8080/__admin/mappings', $stubMappingArray))
+            ->return(json_encode(array('id' => 'some-long-guid')));
 
         // when
         $this->_wireMock->stubFor($mockMappingBuilder);
Stub out WireMock stubbing result in unit test

This test passes locally, but fails on Travis, oddly! Hopefully this
will fix it.