Class: AUCoreTestKit::AUCoreV200::OrganizationIdentifierSearchTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
InfernoSuiteGenerator::SearchTest
Defined in:
lib/au_core_test_kit/generated/v2.0.0/organization/organization_identifier_search_test.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.demodataObject



25
26
27
28
29
# File 'lib/au_core_test_kit/generated/v2.0.0/organization/organization_identifier_search_test.rb', line 25

def self.demodata
  @demodata ||= InfernoSuiteGenerator::Generator::IGDemodata.new(
    YAML.load_file(File.join(File.dirname(__dir__), 'demodata.yml'), aliases: true)
  )
end

.metadataObject



39
40
41
# File 'lib/au_core_test_kit/generated/v2.0.0/organization/organization_identifier_search_test.rb', line 39

def self.
  @metadata ||= InfernoSuiteGenerator::Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
end

.propertiesObject



31
32
33
34
35
36
37
# File 'lib/au_core_test_kit/generated/v2.0.0/organization/organization_identifier_search_test.rb', line 31

def self.properties
  @properties ||= InfernoSuiteGenerator::SearchTestProperties.new(
    resource_type: 'Organization',
    search_param_names: ['identifier'],
    token_search_params: ['identifier']
  )
end

Instance Method Details

#keep_all_search_results?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/au_core_test_kit/generated/v2.0.0/organization/organization_identifier_search_test.rb', line 47

def keep_all_search_results?
  false
end

#scratch_resourcesObject



43
44
45
# File 'lib/au_core_test_kit/generated/v2.0.0/organization/organization_identifier_search_test.rb', line 43

def scratch_resources
  scratch[:organization_resources] ||= {}
end