Skip to content

Commit 112a10d

Browse files
committed
Avoid polluting other Test projects with internals from WhatsApp
Make the tests project fully qualified so we avoid exposing internals to other projects that are simply named Tests too by chance.
1 parent 426324f commit 112a10d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<LangVersion>Preview</LangVersion>
8-
8+
<AssemblyName>Devlooped.WhatsApp.Tests</AssemblyName>
99
<IsPackable>false</IsPackable>
1010
<IsTestProject>true</IsTestProject>
1111
</PropertyGroup>

src/WhatsApp/WhatsApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</ItemGroup>
4646

4747
<ItemGroup>
48-
<InternalsVisibleTo Include="Tests" />
48+
<InternalsVisibleTo Include="Devlooped.WhatsApp.Tests" />
4949
<EmbeddedResource Include="Message.jq" Kind="Text" />
5050
</ItemGroup>
5151

0 commit comments

Comments
 (0)