From feb61922d5099e94e9c172415ee014795a6c0991 Mon Sep 17 00:00:00 2001 From: Eric J. Duran Date: Thu, 30 Jun 2011 09:21:09 -0400 Subject: [PATCH] Adding simpletest basic setup --- fivestar.info | 1 + fivestar.test | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 fivestar.test diff --git a/fivestar.info b/fivestar.info index a84d78a..d085fd0 100644 --- a/fivestar.info +++ b/fivestar.info @@ -4,3 +4,4 @@ package = Voting core = 7.x dependencies[] = votingapi configure = admin/config/content/fivestar +files[] = fivestar.test diff --git a/fivestar.test b/fivestar.test new file mode 100644 index 0000000..717b918 --- /dev/null +++ b/fivestar.test @@ -0,0 +1,23 @@ + 'Fivestar', + 'description' => 'Ensure that the fivestar field type provided functions properly.', + 'group' => 'Fivestar', + ); + } + + public function setUp() { + parent::setUp('fivestar'); + // Create and log in our privileged user. + $this->privileged_user = $this->drupalCreateUser(array('rate content')); + $this->drupalLogin($this->privileged_user); + } + + public function testFivestarCreate() { + } +} \ No newline at end of file -- 1.7.3.4