<commit_before>package auth.db.dao.mongo

import auth.db.dao.UserAndGroupDAOTest
import org.springframework.test.context.ContextConfiguration

/**
 * User Data Source tests for MongoDB implementation
 */
@ContextConfiguration(locations = ['classpath:spring/spring-test-context.xml'])
class MongoDAOTest extends UserAndGroupDAOTest {

    /*@Test
    void testSaveUser() {
        userDAO.delete('test')
        User user = userDAO.create(new User(
                login: 'test',
                email: "<EMAIL>",
                password: 'password',
                gender: Gender.MALE,
                birthDate: DateTime.parse('1987-01-03'),
                firstName: 'testFirstName',
                lastName: 'testLastName',
                groups: ['test1', 'test2']
        ))
        user = userDAO.find(user.login)
        assert user, "User hasn't been created"
        assert user.groups, "User groups haven't been mapped"
        userDAO.delete('test')
    }

    @Test
    void testSaveGroup() {
        groupDAO.delete('test')
        UserGroup group = groupDAO.create(new UserGroup(
                code: 'test',
                name: "Test Group",
                description: 'Some Test Group',
                members: ['test1', 'test2']
        ))
        group = groupDAO.find(group.code)
        assert group, "Group hasn't been created"
        assert group.members, "Group members haven't been mapped"
        groupDAO.delete('test')
    }*/
}
<commit_msg>removed some redundant code<commit_after>package auth.db.dao.mongo

import auth.db.dao.UserAndGroupDAOTest
import org.springframework.test.context.ContextConfiguration

/**
 * User Data Source tests for MongoDB implementation
 */
@ContextConfiguration(locations = ['classpath:spring/spring-test-context.xml'])
class MongoDAOTest extends UserAndGroupDAOTest {
}

{'fraction_non_alphanumeric': 0.11080934274850625, 'fraction_numerical': 0.006518196632265073, 'mean_word_length': 2.4820415879017013, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2373507', 'n_tokens_mistral': 534, 'n_tokens_neox': 506, 'n_words': 118}