Skip to content

Commit

Permalink
Development: Fix failing server tests due to public testing classes a…
Browse files Browse the repository at this point in the history
…nd illegal annotation
  • Loading branch information
xHadie committed Nov 25, 2024
1 parent f4c988f commit e58d9fe
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import de.tum.cit.aet.artemis.core.domain.User;

public class ActivationMailTest extends AbstractMailContentTest {
class ActivationMailTest extends AbstractMailContentTest {

@Test
void testThatVariablesAreInjectedIntoTheTemplate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import de.tum.cit.aet.artemis.core.domain.DataExport;
import de.tum.cit.aet.artemis.core.domain.User;

public class DataExportFailedMailTest extends AbstractMailContentTest {
class DataExportFailedMailTest extends AbstractMailContentTest {

@Test
void testThatVariablesAreInjectedIntoTheTemplate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@

import java.util.Set;

import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Test;

import de.tum.cit.aet.artemis.core.domain.DataExport;
import de.tum.cit.aet.artemis.core.domain.User;

public class DataExportSuccessfulMailTest extends AbstractMailContentTest {
class DataExportSuccessfulMailTest extends AbstractMailContentTest {

@Test
void testThatVariablesAreInjectedIntoTheTemplate() {
Expand All @@ -30,7 +29,6 @@ void testThatVariablesAreInjectedIntoTheTemplate() {
assertThat(capturedContent).contains("test_subject_3");
}

@NotNull
private static Set<DataExport> createThreeDataExportsWithThreeDifferentUsers() {
User dataExportSubjectUser1 = new User();
User dataExportSubjectUser2 = new User();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import de.tum.cit.aet.artemis.core.domain.User;

public class PasswordResetMailTest extends AbstractMailContentTest {
class PasswordResetMailTest extends AbstractMailContentTest {

@Test
void testThatVariablesAreInjectedIntoTheTemplate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import de.tum.cit.aet.artemis.core.domain.User;

public class SAML2SetPasswordMailTest extends AbstractMailContentTest {
class SAML2SetPasswordMailTest extends AbstractMailContentTest {

@Test
void testThatVariablesAreInjectedIntoTheTemplate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import de.tum.cit.aet.artemis.quiz.domain.QuizExercise;
import de.tum.cit.aet.artemis.text.domain.TextExercise;

public class WeeklySummaryMailTest extends AbstractMailContentTest {
class WeeklySummaryMailTest extends AbstractMailContentTest {

@Test
void testThatVariablesAreInjectedIntoTheTemplate() {
Expand Down

0 comments on commit e58d9fe

Please sign in to comment.