I want to install a ceiling light where previously only a box cover existed, no fixture. I connected the black wire to the black fixture wire, white to white, ground to ground. No other wires are present. I turned the breaker on and the light only stays on. I disconnected the wall switch completely but left the wall wires unconnected (black, white, ground). I think it could be a possible faulty switch. I turned the breaker on and the ceiling light remained on with no switch connection.
What is going on?