Skip to content

Commit f877549

Browse files
authored
Merge pull request iluwatar#690 from amogozov/master
Cleanup commented code
2 parents dea2316 + 0306161 commit f877549

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

dao/src/test/java/com/iluwatar/dao/DbCustomerDaoTest.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -185,17 +185,14 @@ public void updationShouldBeSuccessAndAccessingTheSameCustomerShouldReturnUpdate
185185
public class ConnectivityIssue {
186186

187187
private static final String EXCEPTION_CAUSE = "Connection not available";
188-
//@Rule public ExpectedException exception = ExpectedException.none();
189-
188+
190189
/**
191190
* setup a connection failure scenario.
192191
* @throws SQLException if any error occurs.
193192
*/
194193
@BeforeEach
195194
public void setUp() throws SQLException {
196195
dao = new DbCustomerDao(mockedDatasource());
197-
//exception.expect(Exception.class);
198-
//exception.expectMessage(EXCEPTION_CAUSE);
199196
}
200197

201198
private DataSource mockedDatasource() throws SQLException {

0 commit comments

Comments
 (0)