eZ\Publish\Core\Persistence\Legacy\Tests\User\UserHandlerTest::testUpdateUser PHP Method

testUpdateUser() public method

public testUpdateUser ( )
    public function testUpdateUser()
    {
        $handler = $this->getUserHandler();
        $handler->create($user = $this->getValidUser());
        $user->login = 'New_lögin';
        $handler->update($user);
        $this->assertQueryResult(array(array(42, '[email protected]', 'New_lögin', 1234567890, '2')), $this->handler->createSelectQuery()->select('*')->from('ezuser'), 'Expected user data to be updated.');
    }