showing test types

This commit is contained in:
nas 2022-02-21 17:39:01 +01:00
commit 0b7b76d315

View file

@ -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 );