mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Include licensed field in PluginInfo xcontent and toString (#65830)
When #65409 was merged, it didn't include the new PluginInfo field licensed in the toString() or toXContent() outputs. This PR adds them and updates the tests accordingly.
This commit is contained in:
parent
e6935d941f
commit
dd9148de7e
3 changed files with 8 additions and 3 deletions
|
@ -154,6 +154,7 @@ public class ListPluginsCommandTests extends ESTestCase {
|
|||
"Elasticsearch Version: " + Version.CURRENT.toString(),
|
||||
"Java Version: 1.8",
|
||||
"Native Controller: false",
|
||||
"Licensed: false",
|
||||
"Type: isolated",
|
||||
"Extended Plugins: []",
|
||||
" * Classname: org.fake"
|
||||
|
@ -177,6 +178,7 @@ public class ListPluginsCommandTests extends ESTestCase {
|
|||
"Elasticsearch Version: " + Version.CURRENT.toString(),
|
||||
"Java Version: 1.8",
|
||||
"Native Controller: true",
|
||||
"Licensed: false",
|
||||
"Type: isolated",
|
||||
"Extended Plugins: []",
|
||||
" * Classname: org.fake"
|
||||
|
@ -201,6 +203,7 @@ public class ListPluginsCommandTests extends ESTestCase {
|
|||
"Elasticsearch Version: " + Version.CURRENT.toString(),
|
||||
"Java Version: 1.8",
|
||||
"Native Controller: false",
|
||||
"Licensed: false",
|
||||
"Type: isolated",
|
||||
"Extended Plugins: []",
|
||||
" * Classname: org.fake",
|
||||
|
@ -212,6 +215,7 @@ public class ListPluginsCommandTests extends ESTestCase {
|
|||
"Elasticsearch Version: " + Version.CURRENT.toString(),
|
||||
"Java Version: 1.8",
|
||||
"Native Controller: false",
|
||||
"Licensed: false",
|
||||
"Type: isolated",
|
||||
"Extended Plugins: []",
|
||||
" * Classname: org.fake2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue