Skip to content

Instantly share code, notes, and snippets.

View joshuataylor's full-sized avatar
👋

Josh Taylor joshuataylor

👋
View GitHub Profile
Drupal test run
---------------
Tests to be run:
- Drupal\commerce_product\Tests\ProductAdminTest
- Drupal\commerce_product\Tests\ProductTest
- Drupal\commerce_product\Tests\ProductTypeTest
- Drupal\commerce_product\Tests\ProductVariationTypeTest
Test run started:
set_error_handler(
function($err_severity, $err_msg, $err_file, $err_line) {
throw new ErrorException($err_msg, 0, $err_severity, $err_file, $err_line);
}
);
<?php
/**
* @file
* Contains \Drupal\address\AddressFormatImporter.
*/
namespace Drupal\address;
use CommerceGuys\Addressing\Repository\AddressFormatRepository;
@joshuataylor
joshuataylor / gist:ca53902d8c5696a7b02c
Created May 10, 2015 01:37
config_devel commerce
modules/commerce/modules/cart/config/install/views.view.commerce_cart_form.yml
modules/commerce/modules/line_item/config/install/field.field.commerce_line_item.product.product.yml
modules/commerce/modules/line_item/config/install/core.entity_view_display.commerce_line_item.product.default.yml
modules/commerce/modules/line_item/config/install/core.entity_form_display.commerce_line_item.product.default.yml
modules/commerce/modules/line_item/config/install/commerce_line_item.commerce_line_item_type.product.yml
modules/commerce/modules/line_item/config/install/field.storage.commerce_line_item.product.yml
modules/commerce/modules/payment/config/install/field.field.commerce_payment_info.card.card_number.yml
modules/commerce/modules/payment/config/install/field.field.commerce_payment_info.card.card_exp_month.yml
modules/commerce/modules/payment/config/install/commerce_payment.commerce_payment_info_type.card.yml
modules/commerce/modules/payment/config/install/core.entity_form_display.commerce_payment_info.card.defaul
+config_devel:
+ - views.view.commerce_cart_form
---- Drupal\commerce_product\Tests\ProductTest ----
Status Group Filename Line Function
--------------------------------------------------------------------------------
Fail Completion ProductTest.php 33 Drupal\commerce_product\Tests\Produ
The test did not complete due to a fatal error.
Exception Uncaught e ConfigSchemaCheck 98 Drupal\Core\Config\Testing\ConfigSc
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
core.entity_form_display.commerce_store.online.default with the following
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
core.entity_form_display.commerce_order.order.default with the following
errors:
core.entity_form_display.commerce_order.order.default:content.line_items.settings.match_operator
missing schema,
core.entity_form_display.commerce_order.order.default:content.line_items.settings.allow_existing
missing schema,
core.entity_form_display.commerce_order.order.default:content.line_items.settings.delete_references
missing schema,
core.entity_form_display.commerce_order.order.default:content.line_items.settings.override_labels
function drtm() {
sudo -u www-data php ./core/scripts/run-tests.sh --url http://commerce --color --verbose $1
}
function drtf() {
sudo -u www-data php ./core/scripts/run-tests.sh --url http://commerce --color --verbose --file $1
}
wget both PKGBUILD and hhvm-2.3.3.patch
Install these from the AUR
`packer -S oniguruma libdwarf`
wget both PKGBUILD and hhvm-2.3.3.patch
Install these from the AUR
`packer -S oniguruma libdwarf`