Skip to content

Commit a112707

Browse files
committed
(FM-3940) Remove acceptance tests for validation
Remove acceptance tests that deal with validation errors as those are now covered by specs.
1 parent 4f006f0 commit a112707

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

spec/acceptance/sqlserver_config_spec.rb

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -106,35 +106,5 @@ def ensure_sqlserver_instance(host,inst_name, ensure_val = 'present')
106106
expect(r.stderr).not_to match(/Error/i)
107107
end
108108
end
109-
110-
it "Negative test: sqlserver::config without admin_user" do
111-
pp = <<-MANIFEST
112-
sqlserver::config{'#{inst_name}':
113-
admin_pass => '#{@admin_pass}',
114-
instance_name => '#{inst_name}',
115-
}
116-
sqlserver::database{'#{db_name}':
117-
instance => '#{inst_name}',
118-
}
119-
MANIFEST
120-
apply_manifest_on(host, pp, {:acceptable_exit_codes => [0,1]}) do |r|
121-
expect(r.stderr).to match(/Error: Must pass admin_user to Sqlserver/)
122-
end
123-
end
124-
125-
it "Negative test: sqlserver::config without admin_pass" do
126-
pp = <<-MANIFEST
127-
sqlserver::config{'#{inst_name}':
128-
admin_user => '#{@admin_user}',
129-
instance_name => '#{inst_name}',
130-
}
131-
sqlserver::database{'#{db_name}':
132-
instance => '#{inst_name}',
133-
}
134-
MANIFEST
135-
apply_manifest_on(host, pp, {:acceptable_exit_codes => [0,1]}) do |r|
136-
expect(r.stderr).to match(/Error: Must pass admin_pass to Sqlserver/)
137-
end
138-
end
139109
end
140110
end

0 commit comments

Comments
 (0)