Permalink
Browse files

Fix unit testing for admin table

  • Loading branch information...
redaxmedia committed Aug 6, 2018
1 parent 47b68a7 commit 3f09177c258526b392e8d33817abc2f6a6c42f3c
@@ -5,14 +5,14 @@
"articlesEdit": false,
"articlesDelete": false
},
"<h2 class=\"rs-admin-title-content\">Articles</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Category</th><th>Rank</th></tr></thead><tbody><tr><td>Article One</td><td>article-one</td><td>All</td><td>Uncategorized</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Category</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Articles</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Category</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Article One</td><td>article-one</td><td>All</td><td>Uncategorized</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Category</td><td>Rank</td></tr></tfoot></table></div>"
],
[
{
"articlesNew": true,
"articlesEdit": false,
"articlesDelete": false
},
"<h2 class=\"rs-admin-title-content\">Articles</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/articles\">New article</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Category</th><th>Rank</th></tr></thead><tbody><tr><td>Article One</td><td>article-one</td><td>All</td><td>Uncategorized</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Category</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Articles</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/articles\">New article</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Category</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Article One</td><td>article-one</td><td>All</td><td>Uncategorized</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Category</td><td>Rank</td></tr></tfoot></table></div>"
]
]
@@ -5,14 +5,14 @@
"categoriesEdit": false,
"categoriesDelete": false
},
"<h2 class=\"rs-admin-title-content\">Categories</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Rank</th></tr></thead><tbody><tr><td>Category One</td><td>category-one</td><td>All</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Categories</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Category One</td><td>category-one</td><td>All</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Rank</td></tr></tfoot></table></div>"
],
[
{
"categoriesNew": true,
"categoriesEdit": false,
"categoriesDelete": false
},
"<h2 class=\"rs-admin-title-content\">Categories</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/categories\">New category</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Rank</th></tr></thead><tbody><tr><td>Category One</td><td>category-one</td><td>All</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Categories</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/categories\">New category</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Language</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Category One</td><td>category-one</td><td>All</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Language</td><td>Rank</td></tr></tfoot></table></div>"
]
]
@@ -5,14 +5,14 @@
"commentsEdit": false,
"commentsDelete": false
},
"<h2 class=\"rs-admin-title-content\">Comments</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Author</th><th>Language</th><th>Article</th><th>Rank</th></tr></thead><tbody><tr><td>Comment One</td><td>All</td><td>None</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Author</td><td>Language</td><td>Article</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Comments</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Author</th><th>Language</th><th>Article</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Comment One</td><td>All</td><td>None</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Author</td><td>Language</td><td>Article</td><td>Rank</td></tr></tfoot></table></div>"
],
[
{
"commentsNew": true,
"commentsEdit": false,
"commentsDelete": false
},
"<h2 class=\"rs-admin-title-content\">Comments</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/comments\">New comment</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Author</th><th>Language</th><th>Article</th><th>Rank</th></tr></thead><tbody><tr><td>Comment One</td><td>All</td><td>None</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Author</td><td>Language</td><td>Article</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Comments</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/comments\">New comment</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Author</th><th>Language</th><th>Article</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Comment One</td><td>All</td><td>None</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Author</td><td>Language</td><td>Article</td><td>Rank</td></tr></tfoot></table></div>"
]
]
@@ -5,14 +5,14 @@
"extrasEdit": false,
"extrasDelete": false
},
"<h2 class=\"rs-admin-title-content\">Extras</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Rank</th></tr></thead><tbody><tr><td>Extra One</td><td>extra-one</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Extras</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Extra One</td><td>extra-one</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Rank</td></tr></tfoot></table></div>"
],
[
{
"extrasNew": true,
"extrasEdit": false,
"extrasDelete": false
},
"<h2 class=\"rs-admin-title-content\">Extras</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/extras\">New extra</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Rank</th></tr></thead><tbody><tr><td>Extra One</td><td>extra-one</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Rank</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Extras</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/extras\">New extra</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Title</th><th>Alias</th><th>Rank</th></tr></thead><tbody><tr id=\"row-1\"><td>Extra One</td><td>extra-one</td><td class=\"rs-admin-col-move\"></td></tr></tbody><tfoot><tr><td>Title</td><td>Alias</td><td>Rank</td></tr></tfoot></table></div>"
]
]
@@ -5,14 +5,14 @@
"groupsEdit": false,
"groupsDelete": false
},
"<h2 class=\"rs-admin-title-content\">Groups</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>Alias</th></tr></thead><tbody><tr><td>Group One</td><td>group-one</td></tr></tbody><tfoot><tr><td>Name</td><td>Alias</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Groups</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>Alias</th></tr></thead><tbody><tr id=\"row-1\"><td>Group One</td><td>group-one</td></tr></tbody><tfoot><tr><td>Name</td><td>Alias</td></tr></tfoot></table></div>"
],
[
{
"groupsNew": true,
"groupsEdit": false,
"groupsDelete": false
},
"<h2 class=\"rs-admin-title-content\">Groups</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/groups\">New group</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>Alias</th></tr></thead><tbody><tr><td>Group One</td><td>group-one</td></tr></tbody><tfoot><tr><td>Name</td><td>Alias</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Groups</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/groups\">New group</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>Alias</th></tr></thead><tbody><tr id=\"row-1\"><td>Group One</td><td>group-one</td></tr></tbody><tfoot><tr><td>Name</td><td>Alias</td></tr></tfoot></table></div>"
]
]
@@ -6,7 +6,7 @@
"modulesUninstall": false
},
{
"start": "<h2 class=\"rs-admin-title-content\">Modules</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>Alias</th><th>Version</th></tr></thead><tbody><tr><td>Test Dummy</td><td>TestDummy</td><td>4.0.0</td></tr>",
"start": "<h2 class=\"rs-admin-title-content\">Modules</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>Alias</th><th>Version</th></tr></thead><tbody><tr id=\"row-1\"><td>Test Dummy</td><td>TestDummy</td><td>4.0.0</td></tr>",
"end": "</tbody><tfoot><tr><td>Name</td><td>Alias</td><td>Version</td></tr></tfoot></table></div>"
}
]
@@ -6,7 +6,7 @@
"usersEdit": false,
"usersDelete": false
},
"<h2 class=\"rs-admin-title-content\">Users</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr><td>User One</td><td>user-one</td><td>Online</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Users</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr id=\"row-1\"><td>User One</td><td>user-one</td><td>Online</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
],
[
{
@@ -15,7 +15,7 @@
"usersEdit": false,
"usersDelete": false
},
"<h2 class=\"rs-admin-title-content\">Users</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr><td>User One</td><td>user-one</td><td>Today at 10:10</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Users</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr id=\"row-1\"><td>User One</td><td>user-one</td><td>Today at 10:10</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
],
[
{
@@ -24,7 +24,7 @@
"usersEdit": false,
"usersDelete": false
},
"<h2 class=\"rs-admin-title-content\">Users</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr><td>User One</td><td>user-one</td><td>01.01.2017</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Users</h2><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr id=\"row-1\"><td>User One</td><td>user-one</td><td>01.01.2017</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
],
[
{
@@ -33,6 +33,6 @@
"usersEdit": false,
"usersDelete": false
},
"<h2 class=\"rs-admin-title-content\">Users</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/users\">New user</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr><td>User One</td><td>user-one</td><td>Online</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
"<h2 class=\"rs-admin-title-content\">Users</h2><a class=\"rs-admin-button-default rs-admin-button-create\" href=\"admin/new/users\">New user</a><div class=\"rs-admin-wrapper-table\"><table class=\"rs-admin-table-default\"><thead><tr><th>Name</th><th>User</th><th>Session</th><th>Groups</th></tr></thead><tbody><tr id=\"row-1\"><td>User One</td><td>user-one</td><td>Online</td><td><a class=\"rs-admin-link-default\" href=\"admin/edit/groups/1\">Administrators</a></td></tr></tbody><tfoot><tr><td>Name</td><td>User</td><td>Session</td><td>Groups</td></tr></tfoot></table></div>"
]
]

0 comments on commit 3f09177

Please sign in to comment.