Skip to content

Instantly share code, notes, and snippets.

@gator92
Created May 12, 2012 16:22
Show Gist options
  • Save gator92/2667425 to your computer and use it in GitHub Desktop.
Save gator92/2667425 to your computer and use it in GitHub Desktop.
HTTPKernel Test Diff
diff --git a/Tests/Fixtures/TestClient.php b/Tests/Fixtures/TestClient.php
index ddab206..48ff956 100644
--- a/Tests/Fixtures/TestClient.php
+++ b/Tests/Fixtures/TestClient.php
@@ -19,7 +19,7 @@ class TestClient extends Client
{
$script = parent::getScript($request);
- $script = preg_replace('/(\->register\(\);)/', "$0\nrequire_once '".__DIR__."/../TestHttpKernel.php';", $script);
+ $script = preg_replace('/(\->register\(\);)/', "$0\nrequire_once '".__DIR__."/../bootstrap.php';", $script);
return $script;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment