Commit graph

672 commits

Author SHA1 Message Date
Graham Knop
d881a82fc3 fixing tests 2008-08-21 20:44:33 +00:00
Colin Kuskie
fbc6e55141 fix inheritUrlFromParent 2008-08-21 20:27:30 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Colin Kuskie
3aefdb6ce5 fix syntax errors 2008-08-20 17:27:39 +00:00
Diona Kidd
94b20d8f49 Adding provision for testing hasTerms method 2008-08-20 02:04:55 +00:00
Colin Kuskie
c6e9d322a8 Fix how update and addRevision handle defaults from the definition subroutine
when it returns an array ref.
2008-08-19 22:03:39 +00:00
Graham Knop
edebe7e2b9 revert oops 2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Colin Kuskie
3c913228d1 add a test to check inheritUrlFromParent when creating an asset, rather than updating it 2008-08-15 17:50:03 +00:00
Colin Kuskie
4372c2e5e0 Update the Photo view.t test to account for pagination. 2008-08-12 22:22:27 +00:00
Colin Kuskie
68085e440f Fix the failing test, there were two issues.
1) _create_interleaved_items does not return anything useful.
2) $items, the first arg to the sub, has to be an array ref.
2008-08-08 17:56:23 +00:00
Graham Knop
f082e2d14e request->body and request->param should be the same in tests 2008-08-07 22:55:35 +00:00
Colin Kuskie
2f72b6352c Remove debugging output. 2008-08-05 03:58:17 +00:00
Kaleb Murphy
e7f5948ce1 Fixed Form Date and DateTime to properly handle mysql and epoch times. Added tests to make sure they work. 2008-08-04 20:23:13 +00:00
Colin Kuskie
3f8c483293 Update this test for new content.
Change arguments in cmp_* to references instead of arrays.
Check number of files dynamically, rather than hardcoded.
2008-08-02 17:09:21 +00:00
Diona Kidd
178c6340a9 Removing unneeded version tag and workflow info 2008-08-01 14:32:50 +00:00
Diona Kidd
7fbb4a826b Passing tests for badges, tickets and ribbons 2008-08-01 14:23:36 +00:00
Diona Kidd
a4759016ab Adding non-mech test 2008-08-01 13:13:11 +00:00
Colin Kuskie
85e2c32919 update Sku/Product.t test to include isShippingAddress and getConfiguredTitle 2008-07-31 02:56:09 +00:00
Diona Kidd
77aec308c1 Adding additional tests for tickets 2008-07-29 20:08:28 +00:00
Diona Kidd
d908d53c84 Adding test for ticket creation 2008-07-29 20:01:27 +00:00
Diona Kidd
fad7ef4361 Refactored to use Test::WWW::Mechanize 2008-07-29 17:36:53 +00:00
Diona Kidd
84e417069e Adding test for EMS. Currently this test fails due to table and column discrepancies 2008-07-28 23:39:15 +00:00
Colin Kuskie
29445ee1df move Shop/Products tests into Asset/Wobject/Shelf 2008-07-23 15:45:15 +00:00
Colin Kuskie
4392442655 add another fixTitle test for title only with HTML 2008-07-16 00:42:00 +00:00
Colin Kuskie
486edcb4d1 comment the GalleryAlbum view tests, and fix a test that was failing due to a bug fix 2008-07-13 18:32:04 +00:00
Colin Kuskie
c4af4b4f26 remove getProductImportNode test from Asset.t 2008-07-13 18:21:58 +00:00
Colin Kuskie
0955679ea1 Remove the getImportProductNode tests since it doesn't exist anymore. 2008-07-12 22:00:49 +00:00
Colin Kuskie
91317dfdd7 Fix potential JSON/UTF8 encoding issues in Asset/Sku/Product.pm 2008-07-08 21:23:45 +00:00
Colin Kuskie
14724cbbef Add tests to check how getThumbnailUrl is supposed to work in the Product.
Then fix the bugs I added to it yesterday.
2008-06-20 22:05:47 +00:00
Chris Nehren
05cf8fa24c Fixed: One can now turn off inheritUrlFromParent, and the code is now more
robust: moved from Asset->update to Asset->fixUrl.
2008-06-20 19:21:30 +00:00
Graham Knop
d3e802b1cf clean up test warnings 2008-06-20 08:57:34 +00:00
Doug Bell
879668156b fixed: Syndicated Content wobject makes H::T choke 2008-06-13 19:30:19 +00:00
Graham Knop
713e73bf19 proper dataform test fix 2008-06-13 00:35:16 +00:00
JT Smith
42ed751694 test reports errors without crashing 2008-06-12 23:47:42 +00:00
Graham Knop
520c18b3e2 fixing dataform test 2008-06-12 23:31:00 +00:00
Doug Bell
58417faf8a fix problems with gallery URLs. fixed disk space check. added error messages to photo template 2008-06-12 22:08:10 +00:00
Doug Bell
0e299cc18b fixed photo/view test 2008-06-12 19:37:44 +00:00
Colin Kuskie
227745d975 Fix getCollateral, which used to return direct copies instead of safe copies, and
add a test for that.
addToCart does not adjust inventory, that is handled by the cart.
Invert the sense of quantity in onAdjustQuantity.
2008-06-10 01:48:20 +00:00
Chris Nehren
9c77fdcce7 Add the inheritUrlFromParent property, which causes the asset to prepend its
parent's URL to its own URL. Boolean, default off, found in the meta tab.
2008-05-30 23:38:07 +00:00
Yung Han Khoe
075c02221f Added UserList wobject 2008-05-30 15:31:24 +00:00
Colin Kuskie
a998e119d1 update the plan since tests were moved into Asset.t for getIsa 2008-05-30 07:04:32 +00:00
Colin Kuskie
f41d53aa90 make the upgrade script remove SQLForm files, code, Help, i18n and test. Retire the SQLForm test in the repo 2008-05-30 06:59:56 +00:00
Colin Kuskie
3ad1668a21 Promote the getAllProducts to Asset.pm as getIsa. Move the tests
from Asset/Sku/Product.t into Asset/Asset.t, and add tests to check
that inheritance is respected.
2008-05-28 16:06:52 +00:00
Colin Kuskie
0a05d637d4 Build an iterator for getting all products as objects, one at a time.
Build tests for the iterator.
Begin working on the exporter (which will use the iterator).
2008-05-28 04:37:21 +00:00
Yung Han Khoe
bc88cb3183 Adding basic UserList tests 2008-05-19 19:51:58 +00:00
Colin Kuskie
affd08990a Convert variants over to the new collateral API.
Convert the upgrade script to the new API.
Fix a few bugs in the collateral API with "empty" collateral Ids
and add tests for it.
2008-05-18 23:44:43 +00:00
Colin Kuskie
d849aacc51 Add tests for handling adding new collateral.
Covert features to new collateral API.
2008-05-18 16:01:13 +00:00
Colin Kuskie
04412f96c4 handle the case when the JSON hash contains only the unique identifier 2008-05-16 05:40:20 +00:00
Colin Kuskie
06a38c61c3 JSON collateral rewrite, first part.
API is rewritten and tested.  Upgrade script builds JSON
for all commerce products with unique identifiers.
TBD: Rework Product asset and test it.
2008-05-16 05:08:58 +00:00