File tree Expand file tree Collapse file tree
src/test/java/com/eliasnogueira/credit/simulations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424package com .eliasnogueira .credit .simulations ;
2525
2626import com .eliasnogueira .credit .BaseAPI ;
27- import com .eliasnogueira .credit .commons .MessageFormat ;
27+ import com .eliasnogueira .credit .commons .LocationUrlResolver ;
2828import com .eliasnogueira .credit .data .factory .SimulationDataFactory ;
2929import com .eliasnogueira .credit .data .provider .SimulationDataProvider ;
3030import com .eliasnogueira .credit .model .Simulation ;
5353class SimulationsFunctionalTest extends BaseAPI {
5454
5555 /*
56- * not that, in order to assert the amount without problem, we must enable a configuration
56+ * not that, to assert the amount without a problem, we must enable a configuration
5757 * it's located at BaseAPI class
5858 */
5959 @ Test
@@ -145,7 +145,7 @@ void createNewSimulationSuccessfully() {
145145 post ("/simulations/" ).
146146 then ().
147147 statusCode (SC_CREATED ).
148- header ("Location" , containsString (MessageFormat .locationURLByEnvironment ()));
148+ header ("Location" , containsString (LocationUrlResolver .locationURLByEnvironment ()));
149149 }
150150
151151 @ Tag (FUNCTIONAL )
You can’t perform that action at this time.
0 commit comments