removed tests from acp

v1.18.x
Baris Soner Usakli 11 years ago
parent f02cd9df82
commit 47c32738a6

@ -133,22 +133,6 @@
<!-- END plugins -->
</ul>
</div>
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Unit Tests</li>
<ul class="nav nav-list">
<li><a href="{relative_path}/admin/testing/categories">Categories</a></li>
<!--<li><a href="{relative_path}/admin/testing/topics">Topics</a></li>
<li><a href="{relative_path}/admin/testing/posts">Posts</a></li>
<li><a href="{relative_path}/admin/testing/accounts">Accounts</a></li>
<li><a href="{relative_path}/admin/testing/chat">Chat</a></li>
<li><a href="{relative_path}/admin/testing/notifications">Notifications</a></li>
<li><a href="{relative_path}/admin/testing/friends">Friends</a></li>
<li><a href="{relative_path}/admin/testing/feed">RSS Feed</a></li>
<li><a href="{relative_path}/admin/testing/emails">Emails</a></li>-->
</ul>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="col-sm-9" id="content">

@ -1,34 +0,0 @@
<h1>Categories Unit Tests</h1>
<hr />
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script type="text/javascript">
jQuery(document).ready(function () {
QUnit.init();
asyncTest( "Loading Categories", function() {
jQuery.get(RELATIVE_PATH + '/api/home', function(data) {
ok( data.categories.length > 0, JSON.stringify(data.categories) );
start();
for (var i = 0, ii = data.categories.length; i < ii; i++) {
var category = data.categories[i],
slug = 'category/' + category.slug;
asyncTest( "Loading Category '" + category.name + "' located at " + slug, function() {
jQuery.get(RELATIVE_PATH + '/api/' + slug, function(data) {
ok( data.category_name, JSON.stringify(data) ); //todo: check this against data.categories
start();
});
});
}
});
});
QUnit.start();
});
</script>
Loading…
Cancel
Save