From fdad66f58e721b4a02b89f5d06d1b6c2889f27ef Mon Sep 17 00:00:00 2001
From: Peter Jaszkowiak
Date: Fri, 3 Feb 2017 23:48:43 -0700
Subject: [PATCH] Revert "Fix tests to use default activated plugin"
This reverts commit 44a59ac435e18e62666821fbde21a69e72eaee68.
---
test/plugins.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/plugins.js b/test/plugins.js
index 06aabaab8d..09537d8990 100644
--- a/test/plugins.js
+++ b/test/plugins.js
@@ -152,7 +152,7 @@ describe('Plugins', function () {
});
describe('static assets', function () {
- it('should 404 if plugin does not exist', function (done) {
+ it('should 404 if resource does not exist', function (done) {
request.get(nconf.get('url') + '/plugins/doesnotexist/should404.tpl', function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 404);
@@ -162,7 +162,7 @@ describe('Plugins', function () {
});
it('should 404 if resource does not exist', function (done) {
- request.get(nconf.get('url') + '/plugins/nodebb-plugin-markdown/js/should404.js', function (err, res, body) {
+ request.get(nconf.get('url') + '/plugins/nodebb-plugin-dbsearch/dbsearch/templates/admin/plugins/should404.tpl', function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 404);
assert(body);
@@ -171,7 +171,7 @@ describe('Plugins', function () {
});
it('should get resource', function (done) {
- request.get(nconf.get('url') + '/plugins/nodebb-plugin-markdown/js/admin.js', function (err, res, body) {
+ request.get(nconf.get('url') + '/plugins/nodebb-plugin-dbsearch/dbsearch/templates/admin/plugins/dbsearch.tpl', function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 200);
assert(body);