diff --git a/test/13-integration-tests.js b/test/13-integration-tests.js
index <HASH>..<HASH> 100644
--- a/test/13-integration-tests.js
+++ b/test/13-integration-tests.js
@@ -1186,7 +1186,9 @@ describe('Integration tests', () => {
                         err.message.indexOf('You do not have permission to publish') > -1 ||
                         err.message.indexOf('auth required for publishing') > -1 ||
                         err.message.indexOf('operation not permitted') > -1 ||
-                        err.message.indexOf('You must be logged in to publish packages') > -1
+                        err.message.indexOf('You must be logged in to publish packages') > -1 ||
+                        //https://github.com/npm/cli/issues/1637
+                        err.message.indexOf('npm ERR! 404 Not Found - PUT https://registry.npmjs.org/testing-repo - Not found') > -1
                     );
                 }));
fix 'Should allow publishing with special flag'