Skip to content

Fix broken Test

Fix broken Test #4

Triggered via push November 26, 2024 19:20
Status Success
Total duration 3m 1s
Artifacts

ci.yml

on: push
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-and-test-macOS-latest: CSCI2910_Lab5/Models/User.cs#L6
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-macOS-latest: CSCI2910_Lab5/Models/User.cs#L7
Non-nullable property 'Email' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-macOS-latest: CSCI2910_Lab5/Models/Book.cs#L6
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-macOS-latest: CSCI2910_Lab5/Models/Book.cs#L7
Non-nullable property 'Author' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-macOS-latest: CSCI2910_Lab5/Models/Book.cs#L8
Non-nullable property 'ISBN' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-macOS-latest: CSCI2910_Lab5/Components/Pages/UserList.razor#L29
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-and-test-macOS-latest: CSCI2910_Lab5/Services/LibraryService.cs#L102
Possible null reference return.
build-and-test-macOS-latest: CSCI2910_Lab5/Services/LibraryService.cs#L106
Possible null reference return.
build-and-test-macOS-latest: CSCI2910_Lab5/Services/LibraryService.cs#L118
Possible null reference return.
build-and-test-macOS-latest: CSCI2910_Lab5/Services/LibraryService.cs#L155
Possible null reference return.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Models/User.cs#L6
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Models/User.cs#L7
Non-nullable property 'Email' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Models/Book.cs#L6
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Models/Book.cs#L7
Non-nullable property 'Author' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Models/Book.cs#L8
Non-nullable property 'ISBN' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Services/LibraryService.cs#L102
Possible null reference return.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Services/LibraryService.cs#L106
Possible null reference return.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Components/Pages/UserList.razor#L29
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Components/Pages/BookList.razor#L32
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-and-test-ubuntu-latest: CSCI2910_Lab5/Services/LibraryService.cs#L118
Possible null reference return.
build-and-test-windows-latest: CSCI2910_Lab5/Components/Pages/BorrowBook.razor#L24
Non-nullable field 'bookTitle' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test-windows-latest: CSCI2910_Lab5/Models/User.cs#L6
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-windows-latest: CSCI2910_Lab5/Models/User.cs#L7
Non-nullable property 'Email' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-windows-latest: CSCI2910_Lab5/Components/Pages/BookList.razor#L32
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-and-test-windows-latest: CSCI2910_Lab5/Components/Pages/EditUser.razor#L114
Cannot convert null literal to non-nullable reference type.
build-and-test-windows-latest: CSCI2910_Lab5/Components/Pages/EditUser.razor#L67
Cannot convert null literal to non-nullable reference type.
build-and-test-windows-latest: CSCI2910_Lab5/Components/Pages/EditUser.razor#L71
Non-nullable field 'searchName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test-windows-latest: CSCI2910_Lab5/Models/Book.cs#L6
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-windows-latest: CSCI2910_Lab5/Models/Book.cs#L7
Non-nullable property 'Author' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test-windows-latest: CSCI2910_Lab5/Models/Book.cs#L8
Non-nullable property 'ISBN' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.