update share group test in db
Updating test_share_group_get_all_by_name_and_description,which
has two cases with group_number == 1,updating one of them.
@@ -980,7 +980,7 @@ class ShareGroupDatabaseAPITestCase(test.TestCase):
self.assertEqual(group_number, len(groups))
if group_number == 1:
self.assertDictMatch(dict(expected_group1), dict(groups[0]))
- elif group_number == 1:
+ elif group_number == 2:
self.assertDictMatch(dict(expected_group1), dict(groups[1]))
self.assertDictMatch(dict(expected_group2), dict(groups[0]))
