Skip to content

Commit

Permalink
issue6817: Copy as cURL - fix multipart request
Browse files Browse the repository at this point in the history
- use FBTest.selectPanel
- remove uneccessary cleanUpTestTabs calls
  • Loading branch information
Thomas Andersen committed Sep 30, 2013
1 parent a540856 commit 568c0f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions tests/content/lib/netUtils/curlMultipartFormData.js
Expand Up @@ -29,7 +29,7 @@ function runTest()
{
FBTest.enableNetPanel(function(win)
{
panel = FW.Firebug.chrome.selectPanel("net");
panel = FBTest.selectPanel("net");
panel.clear();

var doc = win.document;
Expand Down Expand Up @@ -64,7 +64,6 @@ function onLoadResponseAndCompare()

FBTest.compare(EXPECTED_RESULT, result, "Should be a valid multipart/form-data request");

FBTest.cleanUpTestTabs();
FBTest.testDone("curlMultiPartFormData.DONE");
}

Expand Down
1 change: 0 additions & 1 deletion tests/content/lib/netUtils/generateCurlCommand.js
Expand Up @@ -26,7 +26,6 @@ function runTest()

tasks.run(function ()
{
FBTest.cleanUpTestTabs();
FBTest.testDone("generateCurlCommand.DONE");
});
});
Expand Down

0 comments on commit 568c0f8

Please sign in to comment.