Browse Source

[#54] Changed the expected id of a newly created class in the TestEmClassCreation class

Roland Haroutiounian 9 years ago
parent
commit
3bb0dc70e1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/test/test_classes.py

+ 1
- 1
EditorialModel/test/test_classes.py View File

@@ -59,7 +59,7 @@ class TestEmClassCreation(ClassesTestCase):
59 59
         testClass = EM_TEST_OBJECT.create_component(EmClass.__name__, {'name': 'testclass1', 'classtype': EmClassType.entity['name']})
60 60
 
61 61
         #We check the uid
62
-        self.assertEqual(testClass.uid, 18)
62
+        self.assertEqual(testClass.uid, 22)
63 63
 
64 64
         # We check that the class has been added in the right list in the model object
65 65
         class_components_records = EM_TEST_OBJECT.components(EmClass)

Loading…
Cancel
Save