You need to prepare a guinea pig site for use with Unit Tests. Do not use an existing site. Akeeba Subscriptions data and user data will be removed during testing.
Steps to follow:
-
Create a new Joomla! 3 site, e.g. in
~/Sites/guinea_pig
-
Build and install Akeeba Subscriptions on it
-
Symlink Akeeba Subs to the site, e.g.
cd build; phing relink -Dsite=~/Sites/guinea_pig
-
Copy
Tests/config.dist.php
toTests/config.php
and set thesite_root
to the absolute filesystem path to your guinea pig site -
Run the Unit Tests