@@ -27,7 +27,7 @@ public void testCronJobInstanceMustHaveCompletion() {
27
27
*/
28
28
public void testNotCrontabXmlMustHaveNotCompletion () {
29
29
final String filePath = this .getFixturePath (WRONG_FILE_NAME );
30
- assertCompletionNotShowing (filePath );
30
+ assertFileNotContainsCompletions (filePath , EXPECTED_INSTANCE );
31
31
}
32
32
33
33
/**
@@ -36,7 +36,7 @@ public void testNotCrontabXmlMustHaveNotCompletion() {
36
36
*/
37
37
public void testNotInstanceAttrMustHaveNotCompletion () {
38
38
final String filePath = this .getFixturePath (CrontabXmlTemplate .FILE_NAME );
39
- assertCompletionNotShowing (filePath );
39
+ assertFileNotContainsCompletions (filePath , EXPECTED_INSTANCE );
40
40
}
41
41
42
42
/**
@@ -45,7 +45,7 @@ public void testNotInstanceAttrMustHaveNotCompletion() {
45
45
*/
46
46
public void testNotJobTagMustHaveNotCompletion () {
47
47
final String filePath = this .getFixturePath (CrontabXmlTemplate .FILE_NAME );
48
- assertCompletionNotShowing (filePath );
48
+ assertFileNotContainsCompletions (filePath , EXPECTED_INSTANCE );
49
49
}
50
50
51
51
/**
@@ -63,6 +63,6 @@ public void testCronJobMethodMustHaveCompletion() {
63
63
*/
64
64
public void testNotCrontabXmlMethodMustHaveNotCompletion () {
65
65
final String filePath = this .getFixturePath (WRONG_FILE_NAME );
66
- assertCompletionNotShowing (filePath );
66
+ assertFileNotContainsCompletions (filePath , EXPECTED_METHOD );
67
67
}
68
68
}
0 commit comments