<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:p="http://www.springframework.org/schema/p" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

    <bean id="repository"
        class="org.springframework.extensions.jcr.jackrabbit.RepositoryFactoryBean"
        p:configuration="classpath:/wiki-repo-test.xml" p:homeDir="file:repo-test">
    </bean>
    <bean id="pageJcrSessionFactory" name="pageSessionFactory"
        class="com.esofthead.mycollab.module.wiki.WikiSessionFactory">
        <property name="repository" ref="repository" />
        <property name="credentials">
            <bean class="javax.jcr.SimpleCredentials">
                <constructor-arg index="0" value="hainguyen" />
                <constructor-arg index="1" value="esofthead321" />
            </bean>
        </property>
    </bean>
    <bean id="pageJcrTemplate" class="org.springframework.extensions.jcr.JcrTemplate">
        <property name="sessionFactory" ref="pageJcrSessionFactory" />
        <property name="allowCreate" value="true" />
    </bean>
</beans>

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:p="http://www.springframework.org/schema/p" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

    <bean id="repository"
        class="org.springframework.extensions.jcr.jackrabbit.RepositoryFactoryBean"
        p:configuration="classpath:/wiki-repo-test.xml" p:homeDir="file:repo-test">
    </bean>
    <bean id="pageJcrSessionFactory" name="pageSessionFactory"
        class="com.esofthead.mycollab.module.page.PageSessionFactory">
        <property name="repository" ref="repository" />
        <property name="credentials">
            <bean class="javax.jcr.SimpleCredentials">
                <constructor-arg index="0" value="hainguyen" />
                <constructor-arg index="1" value="esofthead321" />
            </bean>
        </property>
    </bean>
    <bean id="pageJcrTemplate" class="org.springframework.extensions.jcr.JcrTemplate">
        <property name="sessionFactory" ref="pageJcrSessionFactory" />
        <property name="allowCreate" value="true" />
    </bean>
</beans>

Fix unit test config file
Fix unit test config file
