transcendental-lisp/fitnesse/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWikiImportTests/TestImportFromSecureWikiWit.../content.txt

20 lines
667 B
Plaintext
Raw Permalink Normal View History

!c !3 Import From Secure Wiki With Credentials
!define TEST_SYSTEM {slim}
!include CreateSecureWiki
Create an importing page.
!|Page creator.|
|Page name. |Page contents.|valid?|
|ImportingPage|!contents |true |
This !-ImportingPage-! will now import the secure wiki page. Credentials for accessing the remote wiki are included in the request.
!|Response Requester.|
|uri |valid?|
|ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImporteePage&remoteUsername=Aladdin&remotePassword=open+sesame|true|
The import should succeed just like normal.
!|Response Examiner|
|type|pattern|matches?|wrapped html?|
|contents|1 page was imported|true||