From 1e7985a87a72bea9a308cf1506dacc828c6e2e1c Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Tue, 13 Sep 2016 12:42:48 -0400
Subject: Modifying permissions system. (#3897)

---
 webapp/tests/client_admin.test.jsx | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'webapp/tests/client_admin.test.jsx')

diff --git a/webapp/tests/client_admin.test.jsx b/webapp/tests/client_admin.test.jsx
index a6a6e1a85..2ed08dc62 100644
--- a/webapp/tests/client_admin.test.jsx
+++ b/webapp/tests/client_admin.test.jsx
@@ -15,7 +15,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -30,7 +30,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -45,7 +45,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -69,7 +69,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -84,7 +84,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -99,7 +99,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -114,7 +114,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -131,7 +131,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -148,7 +148,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -167,7 +167,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
@@ -186,7 +186,7 @@ describe('Client.Admin', function() {
                     done(new Error('should need system admin permissions'));
                 },
                 function(err) {
-                    assert.equal(err.id, 'api.context.system_permissions.app_error');
+                    assert.equal(err.id, 'api.context.permissions.app_error');
                     done();
                 }
             );
-- 
cgit v1.2.3-1-g7c22

