Skip to content

Commit

Permalink
Test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Dec 5, 2024
1 parent a9dc62d commit a4a2490
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test-harness/models/formBean.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

<!--- ************************************************************* --->
<cffunction name="setinitDate" access="public" return="void" output="false" hint="Set initDate">
<cfargument name="initDate" type="string">
<cfargument name="initDate" type="any">
<cfset variables.instance.initDate = arguments.initDate>
</cffunction>
<!--- ************************************************************* --->
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/web/context/interceptorStateTest.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
this.state.register( this.key, mockInterceptor, mockMetadata );

// Invoke
makepublic( this.state, "invokerAsync" );
makePublic( this.state, "invokerAsync" );
assertTrue( mockInterceptor.$never( "unittest" ) );
this.state.invokerAsync(
getMockRequestContext(),
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/web/services/requestserviceTest.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
url.name = "pio majano";
url.today = today;

/* Catpure the request */
/* Capture the request */
var context = requestService.requestCapture();

// debug(context.getCollection());

/* Tests */
try {
expect( context ).toBeComponent();
expect( url.today ).toBe( context.getValue( "today" ) );
expect( dateCompare( url.today, context.getValue( "today" ), "s" ) ).toBe( 0, "dates should match to the second" );
expect( url.name ).toBe( context.getValue( "name" ) );
expect( context.valueExists( "event" ) ).toBeTrue();
} finally {
Expand Down

0 comments on commit a4a2490

Please sign in to comment.