Skip to content

Commit 232e9d1

Browse files
test: register linear plugin in Test_GetPluginTablesInfo
The plugin count check failed in CI (actual 41 vs tested 40) because the linear plugin was not listed in table_info_test.go. Add its import and FeedIn call so every Go plugin is covered. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Eduardo Rodrigues <2961314+eduardoarantes@users.noreply.github.com>
1 parent 5353108 commit 232e9d1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

backend/plugins/table_info_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import (
2828
bamboo "github.com/apache/incubator-devlake/plugins/bamboo/impl"
2929
bitbucket "github.com/apache/incubator-devlake/plugins/bitbucket/impl"
3030
bitbucket_server "github.com/apache/incubator-devlake/plugins/bitbucket_server/impl"
31-
claudeCode "github.com/apache/incubator-devlake/plugins/claude_code/impl"
3231
circleci "github.com/apache/incubator-devlake/plugins/circleci/impl"
32+
claudeCode "github.com/apache/incubator-devlake/plugins/claude_code/impl"
3333
customize "github.com/apache/incubator-devlake/plugins/customize/impl"
3434
dbt "github.com/apache/incubator-devlake/plugins/dbt/impl"
3535
dora "github.com/apache/incubator-devlake/plugins/dora/impl"
@@ -44,6 +44,7 @@ import (
4444
issueTrace "github.com/apache/incubator-devlake/plugins/issue_trace/impl"
4545
jenkins "github.com/apache/incubator-devlake/plugins/jenkins/impl"
4646
jira "github.com/apache/incubator-devlake/plugins/jira/impl"
47+
linear "github.com/apache/incubator-devlake/plugins/linear/impl"
4748
linker "github.com/apache/incubator-devlake/plugins/linker/impl"
4849
opsgenie "github.com/apache/incubator-devlake/plugins/opsgenie/impl"
4950
org "github.com/apache/incubator-devlake/plugins/org/impl"
@@ -88,6 +89,7 @@ func Test_GetPluginTablesInfo(t *testing.T) {
8889
checker.FeedIn("icla/models", icla.Icla{}.GetTablesInfo)
8990
checker.FeedIn("jenkins/models", jenkins.Jenkins{}.GetTablesInfo)
9091
checker.FeedIn("jira/models", jira.Jira{}.GetTablesInfo)
92+
checker.FeedIn("linear/models", linear.Linear{}.GetTablesInfo)
9193
checker.FeedIn("org", org.Org{}.GetTablesInfo)
9294
checker.FeedIn("pagerduty/models", pagerduty.PagerDuty{}.GetTablesInfo)
9395
checker.FeedIn("refdiff/models", refdiff.RefDiff{}.GetTablesInfo)

0 commit comments

Comments
 (0)