@@ -74,14 +74,6 @@ public async Task Run_FileNotFound_ExitsSilently()
7474 null ,
7575 It . IsAny < Func < It . IsAnyType , Exception ? , string > > ( )
7676 ) , Times . Once ) ;
77- _loggerMock . Verify (
78- x => x . Log (
79- LogLevel . Warning ,
80- It . IsAny < EventId > ( ) ,
81- It . Is < It . IsAnyType > ( ( v , t ) => v . ToString ( ) == "Exiting function." ) ,
82- null ,
83- It . IsAny < Func < It . IsAnyType , Exception ? , string > > ( )
84- ) , Times . Once ) ;
8577
8678 Assert . Equal ( 0 , _dbContext . MeshFiles . Count ( ) ) ;
8779 _meshInboxServiceMock . Verify ( x => x . GetHeadMessageByIdAsync ( It . IsAny < string > ( ) , It . IsAny < string > ( ) ) , Times . Never ) ;
@@ -119,14 +111,6 @@ public async Task Run_FileStatusInvalid_ExitsSilently()
119111 null ,
120112 It . IsAny < Func < It . IsAnyType , Exception ? , string > > ( )
121113 ) , Times . Once ) ;
122- _loggerMock . Verify (
123- x => x . Log (
124- LogLevel . Warning ,
125- It . IsAny < EventId > ( ) ,
126- It . Is < It . IsAnyType > ( ( v , t ) => v . ToString ( ) == "Exiting function." ) ,
127- null ,
128- It . IsAny < Func < It . IsAnyType , Exception ? , string > > ( )
129- ) , Times . Once ) ;
130114
131115 _meshInboxServiceMock . Verify ( x => x . GetHeadMessageByIdAsync ( It . IsAny < string > ( ) , It . IsAny < string > ( ) ) , Times . Never ) ;
132116 _blobStoreMock . Verify ( x => x . UploadAsync ( It . IsAny < MeshFile > ( ) , It . IsAny < byte [ ] > ( ) ) , Times . Never ) ;
@@ -163,14 +147,6 @@ public async Task Run_FileStatusExtractingButNotTimedOut_ExitsSilently()
163147 null ,
164148 It . IsAny < Func < It . IsAnyType , Exception ? , string > > ( )
165149 ) , Times . Once ) ;
166- _loggerMock . Verify (
167- x => x . Log (
168- LogLevel . Warning ,
169- It . IsAny < EventId > ( ) ,
170- It . Is < It . IsAnyType > ( ( v , t ) => v . ToString ( ) == "Exiting function." ) ,
171- null ,
172- It . IsAny < Func < It . IsAnyType , Exception ? , string > > ( )
173- ) , Times . Once ) ;
174150
175151 _meshInboxServiceMock . Verify ( x => x . GetHeadMessageByIdAsync ( It . IsAny < string > ( ) , It . IsAny < string > ( ) ) , Times . Never ) ;
176152 _blobStoreMock . Verify ( x => x . UploadAsync ( It . IsAny < MeshFile > ( ) , It . IsAny < byte [ ] > ( ) ) , Times . Never ) ;
0 commit comments