Skip to content
Snippets Groups Projects
Commit 696fc851 authored by ml bonhomme's avatar ml bonhomme :bee: Committed by Erwan Rouchet
Browse files

Update default corpus element types

parent f009bef6
No related branches found
No related tags found
1 merge request!1608Update default corpus element types
......@@ -414,7 +414,7 @@ class TestRepositories(FixtureTestCase):
self.assertFalse(import_corpus.public)
self.assertEqual(import_corpus.name, 'IIIF import from http://gitlab/repo')
self.assertEqual(import_corpus.types.count(), 11)
self.assertEqual(import_corpus.types.count(), 6)
# User is granted an admin access to both the repository and the corpus
corpus_right = import_corpus.memberships.get(user=self.user)
......
......@@ -29,26 +29,6 @@ DEFAULT_CORPUS_TYPES = [
{
'slug': 'paragraph',
'display_name': 'Paragraph',
},
{
'slug': 'illustration',
'display_name': 'Illustration',
},
{
'slug': 'decoration',
'display_name': 'Decoration',
},
{
'slug': 'chart',
'display_name': 'Chart',
},
{
'slug': 'table',
'display_name': 'Table',
},
{
'slug': 'signature',
'display_name': 'Signature',
}
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment