Skip to content

Commit

Permalink
Test activity streams through API only
Browse files Browse the repository at this point in the history
The activity streams tests were working by calling the activity streams
logic action functions to get user, package and group activity streams,
and to get activity details, and then checking that the results are the
same when the same request are made via the API.

Instead just test by always calling the API (which calls the logic
functions anyway).

It should also use the API when the tests need to do things like create,
update or delete packages, resources, groups, users, etc. Currently it
still calls the logic action functions directly to do these.

It also gets things from the model sometimes, which it could get from
the API.
  • Loading branch information
Sean Hammond committed Jan 30, 2012
1 parent 754695c commit ffcd477
Showing 1 changed file with 74 additions and 111 deletions.

0 comments on commit ffcd477

Please sign in to comment.