Skip to content

Commit cdd9bd0

Browse files
committed
DB script fixes
1 parent 900fbe5 commit cdd9bd0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

logicaldoc-core/src/test/resources/context.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
</props>
7070
</property>
7171
</bean>
72+
7273
<!--Transaction management -->
7374
<bean id="TransactionManager"
7475
class="org.springframework.orm.hibernate5.HibernateTransactionManager"

logicaldoc-webapp/src/test/java/com/logicaldoc/web/service/DocumentServiceImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public void setUp() throws IOException, SQLException, PluginException {
131131
}
132132

133133
@Override
134-
public void tearDown() throws SQLException {
134+
public void tearDown() throws SQLException, IOException {
135135
searchEngine.unlock();
136136
searchEngine.close();
137137

logicaldoc-webapp/src/test/java/com/logicaldoc/web/websockets/EventEndpointTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
package com.logicaldoc.web.websockets;
22

33
import static org.junit.Assert.assertEquals;
4-
import static org.junit.Assert.assertNotNull;
54

65
import java.io.IOException;
76
import java.sql.SQLException;
87

9-
import javax.print.Doc;
108
import javax.websocket.Session;
119

1210
import org.junit.After;
@@ -40,7 +38,7 @@ public void setUp() throws IOException, SQLException, PluginException {
4038
}
4139

4240
@After
43-
public void tearDown() throws SQLException {
41+
public void tearDown() throws SQLException, IOException {
4442
endpoint.onClose(websocketSession);
4543
super.tearDown();
4644
}

0 commit comments

Comments
 (0)