Skip to content

Commit

Permalink
Notify the administrators when one of the installed licensed applicat…
Browse files Browse the repository at this point in the history
…ions has a new version available xwikisas#110

* some small updates
  • Loading branch information
oanalavinia committed Jul 26, 2022
1 parent 5842299 commit 2db7f20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ public class AutomaticUpgradesConfigurationSource extends AbstractDocumentConfig
/**
* Reference of the document containing licensing configurations.
*/
public static final LocalDocumentReference LICENSING_CONFIG_DOC =
protected static final LocalDocumentReference LICENSING_CONFIG_DOC =
new LocalDocumentReference(CODE_SPACE, "LicensingConfig");

/**
* Reference of the class that contains configurations related to automatic upgrades.
*/
public static final LocalDocumentReference AUTO_UPGRADES_CLASS =
protected static final LocalDocumentReference AUTO_UPGRADES_CLASS =
new LocalDocumentReference(CODE_SPACE, "AutomaticUpgradesClass");

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class DefaultLicensingConfigurationTest
private ConfigurationSource configurationSource;

@BeforeEach
void configure() throws Exception
void configure()
{
when(this.configurationSourceProvider.get()).thenReturn(this.configurationSource);
}
Expand Down

0 comments on commit 2db7f20

Please sign in to comment.