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
Diona Kidd
5656ee915c
Adding test for SyndicatedContent.t that exposes feed bug when passing data to the template engine
2008-05-16 00:53:32 +00:00
Colin Kuskie
9c9da302f1
remove colons from END blocks, so they actually act like END blocks
2008-05-09 18:14:14 +00:00
Colin Kuskie
4da1f8314f
Convert accessories over to the new Product collateral methods.
...
Add a method to get the JSON collateral indexed, for easy access to indeces.
Add tests for the new getIndexedCollateralData method.
In the upgrade script, put variants in all versions of the Product. Begin
work on converting the collateral tables over to JSON.
2008-05-04 16:06:31 +00:00
Colin Kuskie
9d2b810a05
conversion of Product from Wobjects to Skus with variants is done
2008-05-04 04:32:58 +00:00
Colin Kuskie
6ad6cd3e5e
move* with tests
2008-05-03 21:25:19 +00:00
Colin Kuskie
9489383cfe
deleteCollateral tests, and detab Sku/Product.pm
2008-05-03 19:24:30 +00:00
Colin Kuskie
ef12f5118f
more product collateral tests
2008-05-03 19:18:01 +00:00
Colin Kuskie
0000db901e
Product variant creation is held off until we can finalize
...
the variant code.
Began building JSON based variant code, and a test for
verifying how it works. set, get and delete collateral
are implemented. Still need to build moveUp and moveDown.
Lots of tests to be written.
2008-05-03 05:41:13 +00:00
Doug Bell
aae6a32df4
added: Ability to enable / disable archiving per Collaboration System. fixed Mech tests again
2008-04-28 02:07:56 +00:00
Doug Bell
3c6ad74cae
fixed the rest of the Test::WWW::Mech tests
2008-04-27 10:07:35 +00:00
Doug Bell
98992b8920
- added: Inbox is now pruned after 1 year
...
- Added about a hundred tests for Collaboration system, Post, and Thread
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be
usable now.
2008-04-26 02:23:10 +00:00
Colin Kuskie
aa7b0b9839
replace BAIL_OUT with a skip. It is okay to nest skips
2008-04-23 22:42:42 +00:00
Colin Kuskie
16eaf6d434
Temporary fix for File.t. This test should be rewritten to use
...
WebGUI::PseudoRequest (I think).
2008-04-23 03:50:52 +00:00
Colin Kuskie
6fbee7bc3c
refactor out configPath storage duplication
2008-04-21 20:16:08 +00:00
Colin Kuskie
404258f7c6
All test sessions are automatically outfitted with a PseudoRequest object.
...
Check to see if there is an exportPath defined in the config file, if
not, safely skip all of the tests.
2008-04-21 19:10:19 +00:00
Chris Nehren
29b31b74b9
change some exportPath munging so we're not deleting the default export path
...
(PoLA)
2008-04-21 01:06:27 +00:00
Chris Nehren
a62990b03c
make the tests more friendly to those not running the WRE.
2008-04-21 00:26:28 +00:00
Chris Nehren
9e8ecd20d7
fix for a test to reflect that exportGetUrlAsPath now calls exportCheckPath
2008-04-20 23:14:28 +00:00
JT Smith
5fb4807edc
merging commerce branch back into head
2008-04-20 18:08:26 +00:00
Doug Bell
cf4dbc93a3
added WWW::Mech tests for Photo, which do not work because File upload controls require JavaScript
2008-04-18 00:29:17 +00:00
Doug Bell
d2faf8cd23
GalleryFile now sets Album thumbnail if Album doesnt have one
2008-04-18 00:28:26 +00:00
Doug Bell
4ebed16c69
added more vars to GalleryAlbum and GalleryFile. fixed some tests
2008-04-17 22:54:19 +00:00
Doug Bell
7668f68980
add: Calendar can now choose workflow for Events
...
fix: Event now saves ownerUserId correctly
add: GalleryAlbum now shows link to add a Photo
added a test skeleton for Test::WWW::Mechanize tests
2008-04-16 23:32:12 +00:00
Chris Nehren
684ce5a7ca
The export system has been completely rewritten to be less monolithic and
...
easier to understand. It's also got a fully rewritten test suite (145 and
counting). It uses Path::Class for much of its work, which is now a requirement
for wG.
2008-04-16 22:16:11 +00:00
Doug Bell
8ec2c763b4
fix: Events can no longer be edited by anyone who can add events
2008-04-15 18:10:39 +00:00