diff --git a/test/unit/disable-upgrade.html b/test/unit/disable-upgrade.html
index 1c1fc78d7e..e916032b14 100644
--- a/test/unit/disable-upgrade.html
+++ b/test/unit/disable-upgrade.html
@@ -78,14 +78,6 @@
[[prop]]
import { Class as PolymerClass } from '../../lib/legacy/class.js';
import { Polymer } from '../../lib/legacy/polymer-fn.js';
-// enable disable upgrade!
-const origPolymerClass = PolymerClass;
-
-Polymer.Class = function(info) {
- const ctor = origPolymerClass(info);
- return DisableUpgradeMixin(ctor);
-};
-
Polymer({
is: 'x-disabled-legacy',
properties: {