Skip to content

Commit

Permalink
fix test and remove even more xpevo referneces
Browse files Browse the repository at this point in the history
  • Loading branch information
snixtho committed Oct 4, 2023
1 parent 086fac3 commit 4d4ec2d
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/EvoSC.Common/Config/Models/ThemeOptions/IUIThemeConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public interface IUIThemeConfig
public string PlayerRowBackgroundColor { get; }

[Description("Colored logo to be displayed on UI elements like headers.")]
[Option(Alias = "logoUrl", DefaultValue = "https://liquipedia.net/commons/images/thumb/c/cb/XPEvo_allmode.png/600px-XPEvo_allmode.png")]
[Option(Alias = "logoUrl", DefaultValue = "")]
public string LogoUrl { get; }

[Description("White logo to be displayed on UI elements like headers.")]
[Option(Alias = "logoWhiteUrl", DefaultValue = "https://cdn.discordapp.com/attachments/764035004048080916/1150113831331307540/XPEvoW100px.png")]
[Option(Alias = "logoWhiteUrl", DefaultValue = "")]
public string LogoWhiteUrl { get; }

public IUIScoreboardThemeConfig Scoreboard { get; }
Expand Down
2 changes: 1 addition & 1 deletion src/EvoSC.Common/Database/MigrationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void MigrateFromAssembly(Assembly asm)
.AddEvoScLogging(_config.Logging)
.Configure<RunnerOptions>(opt =>
{
opt.Tags = new[] { "Production", "XPEvo" };
opt.Tags = new[] { "Production" };
})
.BuildServiceProvider(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1665390396)]
public class AddPlayersTable : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1666859869)]
public class AddConfigOptionsTable : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1668338922)]
public class AddMapsTable : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1668492589)]
public class AddUserPermissionTables : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1675849925)]
public class AddAuditLogTable : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1687252035)]
public class AddPlayerSettingsTable : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1689575375)]
public class UpdateAuditLogTableDataTypes : Migration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace EvoSC.Common.Database.Migrations;

[Tags("XPEvo", "Production")]
[Tags("Production")]
[Migration(1694073143)]
public class UpdateConfigOptionsTable : Migration
{
Expand Down
1 change: 0 additions & 1 deletion src/EvoSC/EvoSC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
<Folder Include="bin\Debug\net7.0\config\" />
<ProjectReference Include="..\Modules\ASayModule\ASayModule.csproj" />
<ProjectReference Include="..\Modules\WorldRecordModule\WorldRecordModule.csproj" />
<ProjectReference Include="..\Modules\XPEvoAdminControl\XPEvoAdminControl.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using EvoSC.Manialinks.Interfaces.Models;
using EvoSC.Modules.Official.MotdModule.Controllers;
using EvoSC.Modules.Official.MotdModule.Interfaces;
using EvoSC.Modules.Official.MotdModule.Models;
using EvoSC.Testing.Controllers;
using Moq;

Expand All @@ -21,7 +22,7 @@ public MotdEditManialinkControllerTests()
[Fact]
public async Task SaveAsync_Closes_Manialink_And_Sets_LocalMotd()
{
await Controller.SaveAsync("testing stuff");
await Controller.SaveAsync(new EditMotdEntryModel { Text = "testing stuff" });

ManialinkManager.Verify(m => m.HideManialinkAsync(_actor.Object, "MotdModule.MotdEdit"));
_motdService.Verify(r => r.SetLocalMotd("testing stuff", It.IsAny<IPlayer>()));
Expand Down

0 comments on commit 4d4ec2d

Please sign in to comment.