Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@ When a test fails, look for the test group name (`[services]` in the example bel

If you set a value for `artifacts_directory` in your `$CONFIG` file, then you will be able to capture `cf` trace output from failed test runs, this output may be useful in cases where the normal test output is not enough to debug an issue. The `cf` trace output for the tests in these specs will be found in `CF-TRACE-Applications-*.txt` in the `artifacts_directory`.

**NOTE:**
If the default identity provider for your deployment is not `uaa`, it is
recommended that you set the `origin` configuration property to `uaa`, and ensure
the user credentials that you provide are registered with UAA.

## Test Execution
To execute tests according to your configuration, run the [bin/test](./bin/test)
script with `$CONFIG` set to your
Expand Down
5 changes: 3 additions & 2 deletions helpers/config/config_struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type config struct {
ExistingUserPassword *string `json:"existing_user_password"`
ShouldKeepUser *bool `json:"keep_user_at_suite_end"`
UseExistingUser *bool `json:"use_existing_user"`
Origin *string `json:"origin"`

UseExistingOrganization *bool `json:"use_existing_organization"`
ExistingOrganization *string `json:"existing_organization"`
Expand Down Expand Up @@ -953,7 +954,7 @@ func (c *config) GetExistingUserPassword() string {
}

func (c *config) GetUserOrigin() string {
return ""
return *c.Origin
}

func (c *config) GetConfigurableTestPassword() string {
Expand All @@ -977,7 +978,7 @@ func (c *config) GetAdminPassword() string {
}

func (c *config) GetAdminOrigin() string {
return ""
return *c.Origin
}

func (c *config) GetApiEndpoint() string {
Expand Down