As far as I can tell, if we don't define KERNEL_DIR, PHPUnit will try to find it in the folder where phpunit.xml is: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php#L121.

Let's just remove it, and it should work.