Skip to content
Snippets Groups Projects
Commit 0a4618d4 authored by tmortagne's avatar tmortagne
Browse files

[misc] Allow passing credentials to use to create an extension

parent f0806842
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,11 @@ public void deleteExtension(Extension extension) ...@@ -93,6 +93,11 @@ public void deleteExtension(Extension extension)
} }
public void addExtension(Extension extension) throws Exception public void addExtension(Extension extension) throws Exception
{
addExtension(extension, null);
}
public void addExtension(Extension extension, UsernamePasswordCredentials credentials) throws Exception
{ {
this.testUtils.deletePage("Extension", getPageName(extension)); this.testUtils.deletePage("Extension", getPageName(extension));
...@@ -129,7 +134,7 @@ public void addExtension(Extension extension) throws Exception ...@@ -129,7 +134,7 @@ public void addExtension(Extension extension) throws Exception
addDependencies(extension); addDependencies(extension);
// Attach the file // Attach the file
attachFile(extension); attachFile(extension, credentials);
} }
public void addVersionObject(Extension extension) public void addVersionObject(Extension extension)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment