Basically those all stuff is "stubbed" please see. https://github.com/KnpLabs/Gaufrette/blob/master/spec/Gaufrette/Adapter/functions.php#L7-L176 so it should not be the problem I think... it never write to any directory when we executing spec. Only functional phpunit tests are really "make" connection and should be configured.