Created
November 22, 2010 16:35
-
-
Save rdp/710217 to your computer and use it in GitHub Desktop.
substruct unit failures, 1.8.6, windoww
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) Error: | |
| test_nullify_orders_after_destroy(AffiliatePaymentTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Column 'affiliate_payment_id' cannot be null: UPDATE `orders` SET affiliate_payment_id = NULL WHERE ((affiliate_payment_id = 925836607)) | |
| /vendor/plugins/substruct/test/unit/affiliate_payment_test.rb:20:in `test_nullify_orders_after_destroy' | |
| 2) Error: | |
| test_amount_paid(AffiliateTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Column 'affiliate_payment_id' cannot be null: UPDATE `orders` SET affiliate_payment_id = NULL WHERE ((affiliate_payment_id = 925836604)) | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:182:in `test_amount_paid' | |
| 3) Error: | |
| test_name_no_first_last(AffiliateTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Column 'last_name' cannot be null: UPDATE `affiliates` SET `last_name` = NULL, `first_name` = NULL WHERE `id` = 192193784 | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:201:in `test_name_no_first_last' | |
| 4) Error: | |
| test_payments_destroyed(AffiliateTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Column 'affiliate_payment_id' cannot be null: UPDATE `orders` SET affiliate_payment_id = NULL WHERE ((affiliate_payment_id = 925836604)) | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:30:in `test_payments_destroyed' | |
| 5) Error: | |
| test_total_owed(AffiliateTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Column 'affiliate_payment_id' cannot be null: UPDATE `orders` SET affiliate_payment_id = NULL WHERE ((affiliate_payment_id = 925836604)) | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:187:in `test_total_owed' | |
| 6) Error: | |
| test_valid_codes(AffiliateTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Data too long for column 'code' at row 1: UPDATE `affiliates` SET `code` = 'code_with_underscores' WHERE `id` = 192193784 | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:87:in `test_valid_codes' | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:85:in `each' | |
| /vendor/plugins/substruct/test/unit/affiliate_test.rb:85:in `test_valid_codes' | |
| 7) Error: | |
| test_deliver_receipt(OrderTest): | |
| NameError: uninitialized constant OrdersMailer::Premailer | |
| vendor/plugins/substruct/app/models/orders_mailer.rb:71:in `render_inline_css' | |
| vendor/plugins/substruct/app/models/orders_mailer.rb:31:in `receipt' | |
| vendor/plugins/substruct/app/models/orders_mailer.rb:29:in `receipt' | |
| vendor/plugins/substruct/app/models/order.rb:990:in `deliver_receipt' | |
| /vendor/plugins/substruct/test/unit/order_test.rb:927:in `test_deliver_receipt' | |
| 8) Failure: | |
| test_has_downloads(OrderTest) [/vendor/plugins/substruct/test/unit/order_test.rb:1422]: | |
| <1> expected but was | |
| <0>. | |
| 9) Failure: | |
| test_pass_ipn(OrderTest) [/vendor/plugins/substruct/test/unit/order_test.rb:1101]: | |
| "ActionMailer::Base.deliveries.length" didn't change by 1. | |
| <1> expected but was | |
| <0>. | |
| 10) Error: | |
| test_promo_code_minimum_bug(OrderTest): | |
| ActiveRecord::StatementInvalid: Mysql::Error: Column 'promotion_id' cannot be null: UPDATE `orders` SET `promotion_id` = NULL, `product_cost` = -3.75 WHERE `id` = 865673862 | |
| /vendor/plugins/substruct/test/unit/order_test.rb:237:in `test_promo_code_minimum_bug' | |
| 11) Failure: | |
| test_run_transaction_authorize_with_success(OrderTest) [/vendor/plugins/substruct/test/unit/order_test.rb:781]: | |
| <0> expected but was | |
| <1>. | |
| 12) Error: | |
| test_receipt(OrdersMailerTest): | |
| NoMethodError: undefined method `subject' for nil:NilClass | |
| /vendor/plugins/substruct/test/unit/orders_mailer_test.rb:51:in `test_receipt' | |
| 304 tests, 907 assertions, 3 failures, 9 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment