I'm apparently missing something really obvious, but this drives me crazy:
In order to test my code, I need to put my entities into defined states. And it simply doesn't work. It completely ignores any changes I make, like for example this one:
$this->test_character->setLocation(null);
$crawler = $this->client->request('GET', '/en/character/start');
$this->assertTrue($this->client->getResponse()->isSuccessful(), "start page failed to load");
$this->assertGreaterThan(0, $crawler->filter('html:contains("Character Placement")')->count(), 'start page content failure');
debugging this test shows that it fails because Location is NOT, in fact, set to null. Adding a flush() doesn't change anything, so that's not the issue. My best guess is that it changes it only on the test client, but not on the backend that generates the pages but that leaves the question: How the f*** do I put my entities into a defined state in order to test them ?