diff --git a/src/engine/runtime.js b/src/engine/runtime.js
index 13d64048f..204cd4633 100644
--- a/src/engine/runtime.js
+++ b/src/engine/runtime.js
@@ -1166,7 +1166,7 @@ class Runtime extends EventEmitter {
*/
_convertButtonForScratchBlocks (buttonInfo) {
// for now we only support these pre-defined callbacks handled in scratch-blocks
- const supportedCallbackKeys = ['CREATE_LIST', 'CREATE_PROCEDURE', 'CREATE_VARIABLE'];
+ const supportedCallbackKeys = ['MAKE_A_LIST', 'MAKE_A_PROCEDURE', 'MAKE_A_VARIABLE'];
if (supportedCallbackKeys.indexOf(buttonInfo.func) < 0) {
log.error(`Custom button callbacks not supported yet: ${buttonInfo.func}`);
}
diff --git a/test/unit/extension_conversion.js b/test/unit/extension_conversion.js
index bdb966e30..7c85f1578 100644
--- a/test/unit/extension_conversion.js
+++ b/test/unit/extension_conversion.js
@@ -13,7 +13,7 @@ const testExtensionInfo = {
name: 'fake test extension',
blocks: [
{
- func: 'CREATE_VARIABLE',
+ func: 'MAKE_A_VARIABLE',
blockType: BlockType.BUTTON,
text: 'this is a button'
},
@@ -65,7 +65,7 @@ const testExtensionInfo = {
const testButton = function (t, button) {
t.same(button.json, null); // should be null or undefined
- t.equal(button.xml, '');
+ t.equal(button.xml, '');
};
const testReporter = function (t, reporter) {