mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Ruby tests updated: User's ENABLED element is now defined as 0/1 instead of True/False
This commit is contained in:
parent
e03ef196db
commit
e000b5abcc
@ -42,7 +42,7 @@ module OpenNebula
|
||||
@user['ID'].should eql('3')
|
||||
@user['NAME'].should eql('dan')
|
||||
@user['PASSWORD'].should eql('d22a12348334v33f71ba846572d25250d40701e72')
|
||||
@user['ENABLED'].should eql('False')
|
||||
@user['ENABLED'].should eql('0')
|
||||
end
|
||||
end
|
||||
|
||||
@ -83,7 +83,7 @@ module OpenNebula
|
||||
@user['ID'].should eql('3')
|
||||
@user['NAME'].should eql('dan')
|
||||
@user['PASSWORD'].should eql('d22a12348334v33f71ba846572d25250d40701e72')
|
||||
@user['ENABLED'].should eql('False')
|
||||
@user['ENABLED'].should eql('0')
|
||||
end
|
||||
end
|
||||
|
||||
|
2
src/oca/ruby/test/fixtures/user.xml
vendored
2
src/oca/ruby/test/fixtures/user.xml
vendored
@ -2,5 +2,5 @@
|
||||
<ID>3</ID>
|
||||
<NAME>dan</NAME>
|
||||
<PASSWORD>d22a12348334v33f71ba846572d25250d40701e72</PASSWORD>
|
||||
<ENABLED>False</ENABLED>
|
||||
<ENABLED>0</ENABLED>
|
||||
</USER>
|
4
src/oca/ruby/test/fixtures/userpool.xml
vendored
4
src/oca/ruby/test/fixtures/userpool.xml
vendored
@ -3,12 +3,12 @@
|
||||
<ID>0</ID>
|
||||
<NAME>oneadmin</NAME>
|
||||
<PASSWORD>f13a1234833436f71ab846572d251c0d40391e72</PASSWORD>
|
||||
<ENABLED>True</ENABLED>
|
||||
<ENABLED>0</ENABLED>
|
||||
</USER>
|
||||
<USER>
|
||||
<ID>1</ID>
|
||||
<NAME>dan</NAME>
|
||||
<PASSWORD>d22a12348334v33f71ba846572d25250d40701e72</PASSWORD>
|
||||
<ENABLED>False</ENABLED>
|
||||
<ENABLED>0</ENABLED>
|
||||
</USER>
|
||||
</USER_POOL>
|
Loading…
x
Reference in New Issue
Block a user