Commit 40caa1ae6bb2d63ee4177b5a48c0469eafac4d10

'no change' variant not used any more (bnc#587442)
plugins/mail/test/unit/mail_test.rb
(0 / 17)
  
2929 end
3030
3131
32 def test_save_no_change
33 YastService.stubs(:Call).with('YaPI::MailSettings::Read').returns({
34 "smtp_server" => "smtp.domain.com",
35 "TLS" => "must",
36 "user" => "",
37 "password" => ""
38 })
39 ret = @model.read
40 ret = @model.save({
41 "smtp_server" => "smtp.domain.com",
42 "user" => "",
43 "password" => "",
44 "transport_layer_security" => "must"
45 })
46 assert ret
47 end
48
4932 def test_save
5033 YastService.stubs(:Call).with('YaPI::MailSettings::Write', {
5134 "smtp_server" => [ "s", "smtp.newdomain.com"],

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment