showing test types
This commit is contained in:
parent
2e6c90b8b0
commit
0b7b76d315
1 changed files with 3 additions and 1 deletions
|
|
@ -20,12 +20,14 @@ sub new {
|
|||
|
||||
sub test_rq_empty {
|
||||
my $this = shift;
|
||||
print "\nTesting requests\n";
|
||||
my $rq = $this->{tester}->get_code();
|
||||
return $this->{tester}->assertEqual( $rq, "404 Not Found" );
|
||||
}
|
||||
|
||||
sub test_user {
|
||||
my $this = shift;
|
||||
print "\nTesting users\n";
|
||||
$this->{tester}->test_user_authentification( $this->get_default_user );
|
||||
$this->{tester}->test_user_already_created( $this->get_default_user );
|
||||
my $user2_index = $this->add_user(
|
||||
|
|
@ -72,7 +74,7 @@ sub get_default_user {
|
|||
|
||||
sub test_activity {
|
||||
my $this = shift;
|
||||
|
||||
print "\nTesting activities\n";
|
||||
my $activity = Activity->new( "test_1", $this->get_default_user );
|
||||
$this->{tester}->test_create_activity( $activity );
|
||||
$this->{tester}->test_activity_exists( $activity );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue