Skip to content

Commit

Permalink
Remove old test
Browse files Browse the repository at this point in the history
  • Loading branch information
grantcopley committed Jun 22, 2024
1 parent c61fbd6 commit 67d8636
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test-harness/tests/specs/CBWIRESpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -312,21 +312,6 @@ component extends="coldbox.system.testing.BaseTestCase" {
}
} );

it( "should handle a data property that is an array of structs", function(){
dataWithStructComponent = getInstance("wires.dataWithStructWire")._withEvent( getRequestContext( ) );
prepareMock( dataWithStructComponent );
// add aditional states
dataWithStructComponent.onMount();
dataWithStructComponent.addState( "IA", "Iowa" );
dataWithStructComponent.addState( "CA", "California" );
// verify data struct read and write without errors
var structViewContent = dataWithStructComponent.view("wires.dataWithStructWire");
expect(structViewContent).toInclude("Number Of States In data.states: 6");
expect(structViewContent).toInclude("IA : Iowa");
expect(structViewContent).toInclude("CA : California");

} );

});

describe("Incoming Requests", function() {
Expand Down

0 comments on commit 67d8636

Please sign in to comment.