Some of the "unit" tests we have in MediaWiki require things like databases to be set up and data imported. That's not a unit test.
Those are still valuable tests (probably) they just shouldn't be run during our unittest run (which should be as fast as possible).