diff --git a/.drone.yml b/.drone.yml index e6f3ea6..a2d9a3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -52,7 +52,7 @@ steps: - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish BookApp/BookApp.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk - dotnet sonarscanner end /d:sonar.login=$${sonar_token} - depends_on: [build] + depends_on: [test] - name: generate-and-deploy-docs image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer diff --git a/src/TestFrontEnd/GlobalUsings.cs b/src/TestFrontEnd/GlobalUsings.cs index ab67c7e..540383d 100644 --- a/src/TestFrontEnd/GlobalUsings.cs +++ b/src/TestFrontEnd/GlobalUsings.cs @@ -1 +1 @@ -global using Microsoft.VisualStudio.TestTools.UnitTesting; \ No newline at end of file +global using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/src/TestFrontEnd/UnitTest1.cs b/src/TestFrontEnd/UnitTest1.cs index 298fa43..6c61e7c 100644 --- a/src/TestFrontEnd/UnitTest1.cs +++ b/src/TestFrontEnd/UnitTest1.cs @@ -4,8 +4,6 @@ namespace TestFrontEnd public class UnitTest1 { [TestMethod] - public void TestMethod1() - { - } + public void TestMethod1() { } } -} \ No newline at end of file +}