mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-106480 NPE trying to open a Trac task
This commit is contained in:
+2
-1
@@ -17,6 +17,7 @@ package com.intellij.tasks.integration;
|
||||
|
||||
import com.intellij.tasks.Task;
|
||||
import com.intellij.tasks.TaskManagerTestCase;
|
||||
import com.intellij.tasks.TaskType;
|
||||
import com.intellij.tasks.trac.TracRepository;
|
||||
|
||||
/**
|
||||
@@ -37,7 +38,7 @@ public class TracIntegrationTest extends TaskManagerTestCase {
|
||||
public void testGetUnknownType() throws Exception {
|
||||
Task task = myRepository.findTask("5");
|
||||
assertNotNull(task);
|
||||
assertEquals(null, task.getType());
|
||||
assertEquals(TaskType.BUG, task.getType());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user