Skip to content

Commit 19538b5

Browse files
committed
remove references to removed constants class
1 parent 3a35829 commit 19538b5

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

src/main/java/com/sellist/flashcards/service/AbcJsService.java

-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
@Service
1010
public class AbcJsService {
1111

12-
private final AbcJsConstants constants;
13-
14-
public AbcJsService(AbcJsConstants abcJsConstants) {
15-
this.constants = abcJsConstants;
16-
}
17-
1812
public String generateAbcJs(Note note) {
1913

2014
String modifier;

src/test/java/com/sellist/flashcards/service/StepServiceTests.java

+9-7
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@
1010
@SpringBootTest
1111
class StepServiceTests {
1212

13-
private final StepService stepService;
14-
15-
private final NoteService noteService;
13+
@Autowired
14+
private StepService stepService;
1615

1716
@Autowired
18-
public StepServiceTests(StepService stepService, NoteService noteService, Steps steps) {
19-
this.stepService = stepService;
20-
this.noteService = noteService;
21-
}
17+
private NoteService noteService;
18+
19+
//@Autowired
20+
//public StepServiceTests(StepService stepService, NoteService noteService) {
21+
// this.stepService = stepService;
22+
// this.noteService = noteService;
23+
//}
2224

2325
@Test
2426
void standardSteps() {

0 commit comments

Comments
 (0)