Skip to content

Instantly share code, notes, and snippets.

View buxx's full-sized avatar
🦀

Bastien Sevajol buxx

🦀
View GitHub Profile
@buxx
buxx / ModelTestCase.php
Created June 11, 2012 17:25 — forked from wowo/ModelTestCase.php
Model Test Case, which loads fixtures and builds database before each test
<?php
/*
* Adapt to your AppKernel.php path
*/
require_once(__DIR__ . "../../../../../../app/AppKernel.php");
/**
* @see http://haulynjason.net/weblog/2012/01/fully-isolated-tests-in-symfony2/
*/