Skip to content

Instantly share code, notes, and snippets.

@gator92
gator92 / diff
Created May 12, 2012 16:22
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);